Graphics/RenderQueue: Default argument for Clear method
Former-commit-id: b45e5b8819670e3d88a7d737e957e2207fc3200e
This commit is contained in:
parent
806955dac7
commit
349b322834
|
|
@ -50,7 +50,7 @@ class NAZARA_API NzAbstractRenderQueue : NzNonCopyable
|
|||
virtual void AddSpotLight(const SpotLight& light);
|
||||
virtual void AddSprites(const NzMaterial* material, const NzVertexStruct_XYZ_Color_UV* vertices, unsigned int spriteCount, const NzTexture* overlay = nullptr) = 0;
|
||||
|
||||
virtual void Clear(bool fully);
|
||||
virtual void Clear(bool fully = false);
|
||||
|
||||
|
||||
struct DirectionalLight
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ class NAZARA_API NzDeferredRenderQueue : public NzAbstractRenderQueue, NzObjectL
|
|||
void AddMesh(const NzMaterial* material, const NzMeshData& meshData, const NzBoxf& meshAABB, const NzMatrix4f& transformMatrix) override;
|
||||
void AddSprites(const NzMaterial* material, const NzVertexStruct_XYZ_Color_UV* vertices, unsigned int spriteCount, const NzTexture* overlay = nullptr) override;
|
||||
|
||||
void Clear(bool fully);
|
||||
void Clear(bool fully = false);
|
||||
|
||||
struct MeshDataComparator
|
||||
{
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ class NAZARA_API NzForwardRenderQueue : public NzAbstractRenderQueue, NzObjectLi
|
|||
void AddMesh(const NzMaterial* material, const NzMeshData& meshData, const NzBoxf& meshAABB, const NzMatrix4f& transformMatrix) override;
|
||||
void AddSprites(const NzMaterial* material, const NzVertexStruct_XYZ_Color_UV* vertices, unsigned int spriteCount, const NzTexture* overlay = nullptr) override;
|
||||
|
||||
void Clear(bool fully);
|
||||
void Clear(bool fully = false);
|
||||
|
||||
void Sort(const NzAbstractViewer* viewer);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue