Axmol Engine 2.4.0-258ceca
Loading...
Searching...
No Matches
DepthStencilStateGL Class Reference

Set depth and stencil status to pipeline. More...

#include <DepthStencilStateGL.h>

Inherits DepthStencilState.

Public Member Functions

 DepthStencilStateGL ()=default
 
void apply (unsigned int stencilReferenceValueFront, unsigned int stencilReferenceValueBack) const
 Set depth and stencil status to pipeline.
 
- Public Member Functions inherited from Object
void retain ()
 Retains the ownership.
 
void release ()
 Releases the ownership immediately.
 
Objectautorelease ()
 Releases the ownership sometime soon automatically.
 
unsigned int getReferenceCount () const
 Returns the Object's current reference count.
 
virtual ~Object ()
 Destructor.
 

Static Public Member Functions

static void reset ()
 Reset to default state.
 

Additional Inherited Members

- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID
 
int _luaID
 Lua reference id.
 

Detailed Description

Set depth and stencil status to pipeline.

Constructor & Destructor Documentation

◆ DepthStencilStateGL()

DepthStencilStateGL ( )
default
Parameters
descriptorSpecifies the depth and stencil status.

Member Function Documentation

◆ apply()

void apply ( unsigned int stencilReferenceValueFront,
unsigned int stencilReferenceValueBack ) const

Set depth and stencil status to pipeline.

Parameters
stencilReferenceValueFrontSpecifies front stencil reference value.
stencilReferenceValueBackSpecifies back stencil reference value.

The documentation for this class was generated from the following file: