MCPcopy Create free account
hub / github.com/carbonengine/trinity / ApplyStandardStates

Method ApplyStandardStates

trinity/Shader/Tr2EffectStateManager.cpp:790–799  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

788
789
790void Tr2EffectStateManager::ApplyStandardStates( RenderingMode rm )
791{
792 if( rm > RM_ANY && rm < RM_COUNT )
793 {
794 DoApplyRenderStates( uint32_t( rm ) );
795 }
796
797 m_currentValues.m_renderingMode = rm;
798 m_currentValues.m_renderStateSetup = UNKNOWN;
799}
800
801void Tr2EffectStateManager::SetWireframeRendering( bool b )
802{

Callers 15

RenderVolumetricsMethod · 0.80
RenderFogMethod · 0.80
RenderShadowsMethod · 0.80
ExecuteMethod · 0.80
EndRenderMethod · 0.80
RenderPickingMethod · 0.80
RenderBatchesInOrderMethod · 0.80
RenderBatchGroupMethod · 0.80
ApplyMethod · 0.80
DrawTextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected