| 296 | */ |
| 297 | |
| 298 | void DepthRenderQueue::AddMesh(int renderOrder, const Material* material, const MeshData& meshData, const Boxf& meshAABB, const Matrix4f& transformMatrix) |
| 299 | { |
| 300 | NazaraAssert(material, "Invalid material"); |
| 301 | NazaraUnused(renderOrder); |
| 302 | NazaraUnused(meshAABB); |
| 303 | |
| 304 | if (!IsMaterialSuitable(material)) |
| 305 | return; |
| 306 | |
| 307 | if (material->HasDepthMaterial()) |
| 308 | material = material->GetDepthMaterial(); |
| 309 | else |
| 310 | material = m_baseMaterial; |
| 311 | |
| 312 | ForwardRenderQueue::AddMesh(0, material, meshData, meshAABB, transformMatrix); |
| 313 | } |
| 314 | |
| 315 | /*! |
| 316 | * \brief Adds a point light to the queue |
no outgoing calls
no test coverage detected