mirror of https://github.com/axmolengine/axmol.git
17 lines
378 B
C++
17 lines
378 B
C++
|
#include "CommandBuffer.h"
|
||
|
|
||
|
CC_BACKEND_BEGIN
|
||
|
|
||
|
void CommandBuffer::setStencilReferenceValue(uint32_t value)
|
||
|
{
|
||
|
_stencilReferenceValueBack = _stencilReferenceValueFront = value;
|
||
|
}
|
||
|
|
||
|
void CommandBuffer::setStencilReferenceValue(unsigned int frontRef, unsigned int backRef)
|
||
|
{
|
||
|
_stencilReferenceValueFront = frontRef;
|
||
|
_stencilReferenceValueBack = backRef;
|
||
|
}
|
||
|
|
||
|
CC_BACKEND_END
|