 |
Irrlicht 3D Engine
|
|
Go to the documentation of this file.
5 #ifndef __I_MATERIAL_RENDERER_H_INCLUDED__
6 #define __I_MATERIAL_RENDERER_H_INCLUDED__
18 class IMaterialRendererServices;
Interface for material rendering.
virtual bool isTransparent() const
Returns if the material is transparent.
Interface providing some methods for changing advanced, internal states of a IVideoDriver.
E_VERTEX_TYPE
Enumeration for all vertex types there are.
virtual bool OnRender(IMaterialRendererServices *service, E_VERTEX_TYPE vtxtype)
Called every time before a new bunch of geometry is being drawn using this material with for example ...
signed int s32
32 bit signed variable.
virtual void OnUnsetMaterial()
Called by the IVideoDriver to unset this material.
Base class of most objects of the Irrlicht Engine.
Everything in the Irrlicht Engine can be found in this namespace.
virtual s32 getRenderCapability() const
Returns the render capability of the material.
Struct for holding parameters for a material renderer.
virtual void OnSetMaterial(const SMaterial &material, const SMaterial &lastMaterial, bool resetAllRenderstates, IMaterialRendererServices *services)
Called by the IVideoDriver implementation the let the renderer set its needed render states.