Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
Nz::AbstractRenderTechnique Class Referenceabstract

Graphics class that represents the rendering technique for our scene. More...

Inheritance diagram for Nz::AbstractRenderTechnique:
Nz::DeferredRenderTechnique Nz::DepthRenderTechnique Nz::ForwardRenderTechnique

Public Member Functions

 AbstractRenderTechnique ()
 Constructs a AbstractRenderTechnique object.
 
 AbstractRenderTechnique (const AbstractRenderTechnique &)=delete
 
 AbstractRenderTechnique (AbstractRenderTechnique &&)=default
 
virtual void Clear (const SceneData &sceneData) const =0
 
virtual bool Draw (const SceneData &sceneData) const =0
 
virtual void EnableInstancing (bool instancing)
 Enables the instancing. More...
 
virtual String GetName () const
 Gets the name of the actual technique. More...
 
virtual AbstractRenderQueueGetRenderQueue ()=0
 
virtual RenderTechniqueType GetType () const =0
 
virtual bool IsInstancingEnabled () const
 Checks whether the instancing is enabled. More...
 
AbstractRenderTechniqueoperator= (const AbstractRenderTechnique &)=delete
 
AbstractRenderTechniqueoperator= (AbstractRenderTechnique &&)=default
 

Protected Attributes

bool m_instancingEnabled
 

Detailed Description

Graphics class that represents the rendering technique for our scene.

Remarks
This class is abstract

Member Function Documentation

◆ EnableInstancing()

void Nz::AbstractRenderTechnique::EnableInstancing ( bool  instancing)
virtual

Enables the instancing.

Parameters
instancingShould instancing be enabled
Remarks
This may improve performances

◆ GetName()

String Nz::AbstractRenderTechnique::GetName ( ) const
virtual

Gets the name of the actual technique.

Returns
Name of the technique being used

◆ IsInstancingEnabled()

bool Nz::AbstractRenderTechnique::IsInstancingEnabled ( ) const
virtual

Checks whether the instancing is enabled.

Returns
true If it is the case

The documentation for this class was generated from the following files: