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

Method HasTransparentBatches

trinity/Tr2Transform.cpp:250–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250bool Tr2Transform::HasTransparentBatches()
251{
252 if( m_display && m_mesh )
253 {
254 return !( m_mesh->GetAreas( TRIBATCHTYPE_TRANSPARENT )->empty() );
255 }
256
257 return false;
258}
259
260void Tr2Transform::GetBatches( ITriRenderBatchAccumulator* batches,
261 TriBatchType batchType,

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.80
GetAreasMethod · 0.80

Tested by

no test coverage detected