mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 17:05:37 +00:00
Fixed StencilFuncSeparate parameters types (StencilFace and StencilFunction instead of StencilFunction).
Added StencilFace enum.
This commit is contained in:
parent
1c1bf9dad8
commit
327d649731
|
@ -173,10 +173,15 @@ Extensions define:
|
|||
|
||||
###############################################################################
|
||||
#
|
||||
# Edited by Stefanos Apostolopoulos for OpenTK. Revision 2
|
||||
# Edited by Stefanos Apostolopoulos for OpenTK. Revision 3
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
StencilFace enum:
|
||||
use DrawBufferMode FRONT
|
||||
use DrawBufferMode BACK
|
||||
use DrawBufferMode FRONT_AND_BACK
|
||||
|
||||
DrawElementsType enum:
|
||||
use DataType UNSIGNED_BYTE
|
||||
use DataType UNSIGNED_SHORT
|
||||
|
|
|
@ -5868,10 +5868,12 @@ StencilOpSeparate(face, sfail, dpfail, dppass)
|
|||
glsopcode ?
|
||||
offset ?
|
||||
|
||||
StencilFuncSeparate(frontfunc, backfunc, ref, mask)
|
||||
|
||||
# Edited for OpenTK
|
||||
StencilFuncSeparate(face, func, ref, mask)
|
||||
return void
|
||||
param frontfunc StencilFunction in value
|
||||
param backfunc StencilFunction in value
|
||||
param face StencilFace in value
|
||||
param func StencilFunction in value
|
||||
param ref ClampedStencilValue in value
|
||||
param mask MaskedStencilValue in value
|
||||
category VERSION_2_0
|
||||
|
|
Loading…
Reference in a new issue