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

Method GetMeshData

trinity/Resources/TriGeometryRes.cpp:321–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321TriGeometryResMeshData* TriGeometryRes::GetMeshData( unsigned int meshIx ) const
322{
323 if( !m_isGood || meshIx >= m_meshes.size() )
324 {
325 return nullptr;
326 }
327
328 return m_meshes[meshIx].get();
329}
330
331TriGeometryResLodData* TriGeometryRes::GetMeshLod( unsigned int meshIx, float screenSize ) const
332{

Callers 15

GetMeshVertexDeclarationFunction · 0.80
BindToRigMethod · 0.80
GetBoundsMethod · 0.80
GetAreaBoundsMethod · 0.80
AddMeshGroupMethod · 0.80
RebuildCachedDataMethod · 0.80
GetRenderablesMethod · 0.80
RebuildCachedDataMethod · 0.80
GetBatchesMethod · 0.80

Calls 2

sizeMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected