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

Method IsInstanceDataReady

trinity/Tr2DirectInstanceData.cpp:74–77  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Implements ITr2InstanceData interface. Query if instance data is available for rendering. Return value: true If instance data is available false Otherwise --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

72// false Otherwise
73// --------------------------------------------------------------------------------------
74bool Tr2DirectInstanceData::IsInstanceDataReady() const
75{
76 return m_vertexDeclaration != Tr2EffectStateManager::UNINITIALIZED_DECLARATION && m_vertexBuffer.IsValid();
77}
78
79// --------------------------------------------------------------------------------------
80// Description:

Callers 3

GetBatchesMethod · 0.45
IsLoadingMethod · 0.45

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected