Set depth and stencil status to pipeline. More...
Inherits DepthStencilState.
Public Member Functions | |
DepthStencilStateGL (const DepthStencilDescriptor &descriptor) | |
void | apply (unsigned int stencilReferenceValueFront, unsigned int stencilReferenceValueBack) const |
Set depth and stencil status to pipeline. More... | |
![]() | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Destructor. More... | |
Static Public Member Functions | |
static void | reset () |
Reset to default state. | |
Additional Inherited Members | |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
void * | _scriptObject |
scriptObject, support for swift | |
bool | _rooted |
When true, it means that the object was already rooted. | |
Set depth and stencil status to pipeline.
DepthStencilStateGL | ( | const DepthStencilDescriptor & | descriptor | ) |
descriptor | Specifies the depth and stencil status. |
void apply | ( | unsigned int | stencilReferenceValueFront, |
unsigned int | stencilReferenceValueBack | ||
) | const |
Set depth and stencil status to pipeline.
stencilReferenceValueFront | Specifies front stencil reference value. |
stencilReferenceValueBack | Specifies back stencil reference value. |