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

Method GetLineEffect

trinity/TriDebugResourceHelper.cpp:58–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58Tr2Effect* TriDebugResourceHelper::GetLineEffect()
59{
60 if( !m_lineEffect )
61 {
62 m_lineEffect.CreateInstance();
63 m_lineEffect->SetEffectPathName( DEBUG_LINE_EFFECT_PATH );
64 }
65
66 return m_lineEffect;
67}
68
69unsigned int TriDebugResourceHelper::GetVertexPosDecl()
70{

Callers 1

RenderMethod · 0.80

Calls 2

CreateInstanceMethod · 0.80
SetEffectPathNameMethod · 0.80

Tested by

no test coverage detected