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

Function getGFXCullMode

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

Source from the content-addressed store, hash-verified

179}
180
181gfx::CullMode getGFXCullMode(RasterizerState::CullMode mode)
182{
183 switch (mode)
184 {
185 case Falcor::RasterizerState::CullMode::None:
186 return gfx::CullMode::None;
187 case Falcor::RasterizerState::CullMode::Front:
188 return gfx::CullMode::Front;
189 case Falcor::RasterizerState::CullMode::Back:
190 return gfx::CullMode::Back;
191 default:
192 FALCOR_UNREACHABLE();
193 return gfx::CullMode::None;
194 }
195}
196
197gfx::FillMode getGFXFillMode(RasterizerState::FillMode mode)
198{

Callers 1

GraphicsStateObjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected