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

Method SetGammaCorrectText

trinity/Sprite2d/Tr2Sprite2dScene.cpp:2648–2652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2646 }
2647}
2648void Tr2Sprite2dScene::SetGammaCorrectText( bool use )
2649{
2650 m_isGammaCorrectingText = use;
2651 m_uberShader2d->SetOption( BlueSharedString( "FONT_GAMMACORRECT" ), BlueSharedString( m_isGammaCorrectingText ? "ENABLED" : "DISABLED" ) );
2652}
2653
2654bool Tr2Sprite2dScene::IsGammaCorrectingText()
2655{

Callers

nothing calls this directly

Calls 1

SetOptionMethod · 0.80

Tested by

no test coverage detected