5 #ifndef __I_MATERIAL_RENDERER_SERVICES_H_INCLUDED__ 6 #define __I_MATERIAL_RENDERER_SERVICES_H_INCLUDED__ 39 bool resetAllRenderstates) = 0;
#define _IRR_DEPRECATED_
Defines a deprecated macro which generates a warning at compile time.
Interface providing some methods for changing advanced, internal states of a IVideoDriver.
float f32
32 bit floating point variable.
GLuint GLuint GLsizei count
char c8
8 bit character variable.
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
virtual IVideoDriver * getVideoDriver()=0
Get pointer to the IVideoDriver interface.
GLuint const GLchar * name
_IRR_DEPRECATED_ bool setPixelShaderConstant(const c8 *name, const f32 *floats, int count)
Everything in the Irrlicht Engine can be found in this namespace.
virtual s32 getPixelShaderConstantID(const c8 *name)=0
Return an index constant for the pixel shader based on a name.
_IRR_DEPRECATED_ bool setVertexShaderConstant(const c8 *name, const f32 *floats, int count)
signed int s32
32 bit signed variable.
virtual void setBasicRenderStates(const SMaterial &material, const SMaterial &lastMaterial, bool resetAllRenderstates)=0
Can be called by an IMaterialRenderer to make its work easier.
virtual s32 getVertexShaderConstantID(const c8 *name)=0
Return an index constant for the vertex shader based on a name.
_IRR_DEPRECATED_ bool setPixelShaderConstant(const c8 *name, const s32 *ints, int count)
Interface to driver which is able to perform 2d and 3d graphics functions.
_IRR_DEPRECATED_ bool setVertexShaderConstant(const c8 *name, const s32 *ints, int count)
virtual bool setPixelShaderConstant(s32 index, const f32 *floats, int count)=0
Sets a constant for the pixel shader based on a name.
virtual bool setVertexShaderConstant(s32 index, const f32 *floats, int count)=0
Sets a constant for the vertex shader based on a name.
Struct for holding parameters for a material renderer.
virtual ~IMaterialRendererServices()
Destructor.