Skylicht Engine
Loading...
Searching...
No Matches
irr::video::IMaterialRendererServices Class Referenceabstract

Interface providing some methods for changing advanced, internal states of a IVideoDriver. More...

#include <C:/Projects/skylicht-engine/Projects/Irrlicht/Include/IMaterialRendererServices.h>

Public Member Functions

virtual ~IMaterialRendererServices ()
 Destructor.
virtual void setBasicRenderStates (const SMaterial &material, const SMaterial &lastMaterial, bool resetAllRenderstates)=0
 Can be called by an IMaterialRenderer to make its work easier.
virtual IVideoDrivergetVideoDriver ()=0
 Get pointer to the IVideoDriver interface.

Detailed Description

Interface providing some methods for changing advanced, internal states of a IVideoDriver.

Member Function Documentation

◆ getVideoDriver()

virtual IVideoDriver * irr::video::IMaterialRendererServices::getVideoDriver ( )
pure virtual

Get pointer to the IVideoDriver interface.

Returns
Pointer to the IVideoDriver interface

◆ setBasicRenderStates()

virtual void irr::video::IMaterialRendererServices::setBasicRenderStates ( const SMaterial & material,
const SMaterial & lastMaterial,
bool resetAllRenderstates )
pure virtual

Can be called by an IMaterialRenderer to make its work easier.

Sets all basic renderstates if needed. Basic render states are diffuse, ambient, specular, and emissive color, specular power, bilinear and trilinear filtering, wireframe mode, grouraudshading, lighting, zbuffer, zwriteenable, backfaceculling and fog enabling.

Parameters
materialThe new material to be used.
lastMaterialThe material used until now.
resetAllRenderstatesSet to true if all renderstates should be set, regardless of their current state.

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