Graphics/RenderTechnique: Remove Clear method

Let's face it, this method was useless from the beginning.


Former-commit-id: c38f57785c900acf66560ad07aa29498312c6063
This commit is contained in:
Lynix
2015-06-05 13:38:22 +02:00
parent fc65b30f84
commit b9ced78772
7 changed files with 4 additions and 17 deletions

View File

@@ -22,7 +22,6 @@ class NAZARA_API NzAbstractRenderTechnique : NzNonCopyable
NzAbstractRenderTechnique();
virtual ~NzAbstractRenderTechnique();
virtual void Clear(const NzScene* scene) const = 0;
virtual bool Draw(const NzScene* scene) const = 0;
virtual void EnableInstancing(bool instancing);

View File

@@ -30,8 +30,7 @@ class NAZARA_API NzDeferredRenderTechnique : public NzAbstractRenderTechnique, p
NzDeferredRenderTechnique();
~NzDeferredRenderTechnique();
void Clear(const NzScene* scene) const;
bool Draw(const NzScene* scene) const;
bool Draw(const NzScene* scene) const override;
void EnablePass(nzRenderPassType renderPass, int position, bool enable);

View File

@@ -20,7 +20,6 @@ class NAZARA_API NzForwardRenderTechnique : public NzAbstractRenderTechnique
NzForwardRenderTechnique();
~NzForwardRenderTechnique() = default;
void Clear(const NzScene* scene) const override;
bool Draw(const NzScene* scene) const override;
unsigned int GetMaxLightPassPerObject() const;