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

Method Initialize

trinity/Shader/Tr2EffectStateManager.cpp:631–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629
630
631void Tr2EffectStateManager::Initialize()
632{
633 m_viewportSizeVar.Register( "ViewportSize", Vector4( 0.0f, 0.0f, 1.0f, 0.0f ) );
634
635 m_currentValues.Reset();
636 m_isManagedRendering = false;
637}
638
639void Tr2EffectStateManager::SetRenderStateOverride( Tr2RenderContextEnum::RenderState state, const uint32_t* overrides )
640{

Callers

nothing calls this directly

Calls 3

Vector4Class · 0.50
RegisterMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected