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

Method GetPassCount

trinity/Shader/Tr2Shader.cpp:51–58  ·  view source on GitHub ↗

--------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

49
50// --------------------------------------------------------------------------------------
51unsigned int Tr2Shader::GetPassCount( uint32_t techniqueIndex ) const
52{
53 if( m_effect.techniques.empty() )
54 {
55 return 0;
56 }
57 return static_cast<unsigned int>( m_effect.techniques[techniqueIndex].passes.size() );
58}
59
60// --------------------------------------------------------------------------------------
61// Description:

Callers 9

DrawHelperMethod · 0.80
EndRenderMethod · 0.80
RenderBatchesInOrderMethod · 0.80
TechniqueInBatchMethod · 0.80
RenderBatchGroupMethod · 0.80
RenderGdprBatchesMethod · 0.80
RenderMethod · 0.80

Calls 2

emptyMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected