Fixed StencilFuncSeparate parameters types (StencilFace and StencilFunction instead of StencilFunction).
Added StencilFace enum.
This commit is contained in:
parent
81888345df
commit
4591218aab
2 changed files with 12 additions and 5 deletions
|
@ -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,12 +5868,14 @@ 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
|
||||
param mask MaskedStencilValue in value
|
||||
category VERSION_2_0
|
||||
version 2.0
|
||||
extension
|
||||
|
|
Loading…
Reference in a new issue