axmol/cocos/renderer/backend/CommandBuffer.cpp

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