Function getStencilDesc

Synopsis

#include <Source/Falcor/Core/API/DepthStencilState.h>

const StencilDesc & getStencilDesc(Face face) const

Description

Get the stencil descriptor for the selected face

Source

Lines 81-85 in Source/Falcor/Core/API/DepthStencilState.cpp. Line 164 in Source/Falcor/Core/API/DepthStencilState.h.

const DepthStencilState::StencilDesc& DepthStencilState::getStencilDesc(Face face) const
{
    assert(face != Face::FrontAndBack);
    return (face == Face::Front) ? mDesc.mStencilFront : mDesc.mStencilBack;
}





Add Discussion as Guest

Log in to DocsForge