| 353 | */ |
| 354 | |
| 355 | void DepthRenderQueue::AddSprites(int renderOrder, const Material* material, const VertexStruct_XYZ_Color_UV* vertices, std::size_t spriteCount, const Texture* overlay) |
| 356 | { |
| 357 | NazaraAssert(material, "Invalid material"); |
| 358 | NazaraUnused(renderOrder); |
| 359 | NazaraUnused(overlay); |
| 360 | |
| 361 | if (!IsMaterialSuitable(material)) |
| 362 | return; |
| 363 | |
| 364 | if (material->HasDepthMaterial()) |
| 365 | material = material->GetDepthMaterial(); |
| 366 | else |
| 367 | material = m_baseMaterial; |
| 368 | |
| 369 | ForwardRenderQueue::AddSprites(0, material, vertices, spriteCount, overlay); |
| 370 | } |
| 371 | } |
| 372 |
no outgoing calls
no test coverage detected