![]() |
Skylicht Engine
|
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 IVideoDriver * | getVideoDriver ()=0 |
| Get pointer to the IVideoDriver interface. | |
Interface providing some methods for changing advanced, internal states of a IVideoDriver.
|
pure virtual |
Get pointer to the IVideoDriver interface.
|
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.
| material | The new material to be used. |
| lastMaterial | The material used until now. |
| resetAllRenderstates | Set to true if all renderstates should be set, regardless of their current state. |