| 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 |
nothing calls this directly
no test coverage detected