MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / AddToRenderQueue

Method AddToRenderQueue

src/Nazara/Graphics/Sprite.cpp:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 */
24
25 void Sprite::AddToRenderQueue(AbstractRenderQueue* renderQueue, const InstanceData& instanceData) const
26 {
27 const VertexStruct_XYZ_Color_UV* vertices = reinterpret_cast<const VertexStruct_XYZ_Color_UV*>(instanceData.data.data());
28 renderQueue->AddSprites(instanceData.renderOrder, GetMaterial(), vertices, 1);
29 }
30
31 /*!
32 * \brief Makes the bounding volume of this text

Callers

nothing calls this directly

Calls 1

AddSpritesMethod · 0.45

Tested by

no test coverage detected