MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / getGFXStencilDesc

Function getGFXStencilDesc

Source/Falcor/Core/API/GraphicsStateObject.cpp:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void getGFXStencilDesc(gfx::DepthStencilOpDesc& gfxDesc, DepthStencilState::StencilDesc desc)
154{
155 gfxDesc.stencilDepthFailOp = getGFXStencilOp(desc.depthFailOp);
156 gfxDesc.stencilFailOp = getGFXStencilOp(desc.stencilFailOp);
157 gfxDesc.stencilPassOp = getGFXStencilOp(desc.depthStencilPassOp);
158 gfxDesc.stencilFunc = getGFXComparisonFunc(desc.func);
159}
160
161gfx::PrimitiveType getGFXPrimitiveType(GraphicsStateObjectDesc::PrimitiveType primitiveType)
162{

Callers 1

GraphicsStateObjectMethod · 0.85

Calls 2

getGFXStencilOpFunction · 0.85
getGFXComparisonFuncFunction · 0.85

Tested by

no test coverage detected