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

Method BeginExecute

trinity/RenderJob/TriRenderStep.cpp:39–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void TriRenderStep::BeginExecute( Tr2RenderContext& renderContext )
40{
41 if( m_name.empty() )
42 {
43 if( ClassType() && ClassType()->mClassId )
44 {
45 renderContext.AddGpuMarker( ClassType()->mClassId->GetName() );
46 }
47 }
48 else
49 {
50 renderContext.AddGpuMarker( m_name.c_str() );
51 }
52 m_timer.Begin( renderContext );
53}
54
55void TriRenderStep::EndExecute( Tr2RenderContext& renderContext )
56{

Callers 1

RunMethod · 0.80

Calls 4

emptyMethod · 0.80
AddGpuMarkerMethod · 0.45
GetNameMethod · 0.45
BeginMethod · 0.45

Tested by

no test coverage detected