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

Method SetFullScreenViewport

trinity/Shader/Tr2EffectStateManager.cpp:1091–1101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1089}
1090
1091void Tr2EffectStateManager::SetFullScreenViewport()
1092{
1093 m_viewport.width = m_renderTargetWidth;
1094 m_viewport.height = m_renderTargetHeight;
1095 m_viewport.x = 0;
1096 m_viewport.y = 0;
1097 m_viewport.minZ = 0.0f;
1098 m_viewport.maxZ = 1.0f;
1099
1100 SetupViewport();
1101}
1102
1103void Tr2EffectStateManager::SetViewport( const TriViewport& vp )
1104{

Callers 6

ExecuteMethod · 0.80
ExecuteMethod · 0.80
BeginRenderingMethod · 0.80
ExecuteMethod · 0.80
ClearOnFailureMethod · 0.80
BeginRenderPassFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected