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

Graphics class that represents the technique used in depth rendering. More...

Inheritance diagram for Nz::DepthRenderTechnique:
Nz::AbstractRenderTechnique

Public Member Functions

 DepthRenderTechnique ()
 Constructs a DepthRenderTechnique object by default.
 
void Clear (const SceneData &sceneData) const override
 Clears the data. More...
 
bool Draw (const SceneData &sceneData) const override
 Draws the data of the scene. More...
 
AbstractRenderQueueGetRenderQueue () override
 Gets the render queue. More...
 
RenderTechniqueType GetType () const override
 Gets the type of the current technique. More...
 
- Public Member Functions inherited from Nz::AbstractRenderTechnique
 AbstractRenderTechnique ()
 Constructs a AbstractRenderTechnique object.
 
 AbstractRenderTechnique (const AbstractRenderTechnique &)=delete
 
 AbstractRenderTechnique (AbstractRenderTechnique &&)=default
 
virtual void EnableInstancing (bool instancing)
 Enables the instancing. More...
 
virtual String GetName () const
 Gets the name of the actual technique. More...
 
virtual bool IsInstancingEnabled () const
 Checks whether the instancing is enabled. More...
 
AbstractRenderTechniqueoperator= (const AbstractRenderTechnique &)=delete
 
AbstractRenderTechniqueoperator= (AbstractRenderTechnique &&)=default
 

Static Public Member Functions

static bool Initialize ()
 Initializes the depth render technique. More...
 
static void Uninitialize ()
 Uninitializes the depth render technique.
 

Additional Inherited Members

- Protected Attributes inherited from Nz::AbstractRenderTechnique
bool m_instancingEnabled
 

Detailed Description

Graphics class that represents the technique used in depth rendering.

Member Function Documentation

◆ Clear()

void Nz::DepthRenderTechnique::Clear ( const SceneData &  sceneData) const
overridevirtual

Clears the data.

Parameters
sceneDataData of the scene

Implements Nz::AbstractRenderTechnique.

◆ Draw()

bool Nz::DepthRenderTechnique::Draw ( const SceneData &  sceneData) const
overridevirtual

Draws the data of the scene.

Returns
true If successful
Parameters
sceneDataData of the scene

Implements Nz::AbstractRenderTechnique.

◆ GetRenderQueue()

AbstractRenderQueue * Nz::DepthRenderTechnique::GetRenderQueue ( )
overridevirtual

Gets the render queue.

Returns
Pointer to the render queue

Implements Nz::AbstractRenderTechnique.

◆ GetType()

RenderTechniqueType Nz::DepthRenderTechnique::GetType ( ) const
overridevirtual

Gets the type of the current technique.

Returns
Type of the render technique

Implements Nz::AbstractRenderTechnique.

◆ Initialize()

bool Nz::DepthRenderTechnique::Initialize ( )
static

Initializes the depth render technique.

Returns
true If successful
Remarks
Produces a NazaraError if one shader creation failed

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