Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
IMaterialRendererServices.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2010 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __I_MATERIAL_RENDERER_SERVICES_H_INCLUDED__
6 #define __I_MATERIAL_RENDERER_SERVICES_H_INCLUDED__
7 
8 #include "SMaterial.h"
9 #include "S3DVertex.h"
10 
11 namespace irr
12 {
13 namespace video
14 {
15 
16 class IVideoDriver;
17 
18 
21 {
22 public:
23 
26 
28 
37  virtual void setBasicRenderStates(const SMaterial& material,
38  const SMaterial& lastMaterial,
39  bool resetAllRenderstates) = 0;
40 
42 
66  virtual bool setVertexShaderConstant(const c8* name, const f32* floats, int count) = 0;
67 
69 
74  virtual void setVertexShaderConstant(const f32* data, s32 startRegister, s32 constantAmount=1) = 0;
75 
77 
84  virtual bool setPixelShaderConstant(const c8* name, const f32* floats, int count) = 0;
85 
87 
92  virtual void setPixelShaderConstant(const f32* data, s32 startRegister, s32 constantAmount=1) = 0;
93 
95 
96  virtual IVideoDriver* getVideoDriver() = 0;
97 };
98 
99 } // end namespace video
100 } // end namespace irr
101 
102 #endif
103 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Fri Mar 21 2014 04:40:16 by Doxygen (1.8.1.2)