MCPcopy Create free account
hub / github.com/GPUOpen-Effects/TressFX / ToggleShortCut

Method ToggleShortCut

src/TressFXSample.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void TressFXSample::ToggleShortCut()
95{
96 OITMethod newMethod;
97 if (m_eOITMethod == OIT_METHOD_PPLL)
98 newMethod = OIT_METHOD_SHORTCUT;
99 else
100 newMethod = OIT_METHOD_PPLL;
101 SetOITMethod(newMethod);
102}
103
104void TressFXSample::DrawCollisionMesh()
105{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected