OGRE-Next
2.3
Object-Oriented Graphics Rendering Engine
|
Class for recording Quake3 shaders. More...
#include <OgreQuake3Shader.h>
Classes | |
struct | Pass |
Public Types | |
typedef vector< Pass >::type | PassList |
Public Member Functions | |
Quake3Shader (const String &name) | |
Default constructor - used by Quake3ShaderManager (do not call directly) More... | |
~Quake3Shader () | |
MaterialPtr | createAsMaterial (int lightmapNumber) |
Creates this shader as an OGRE material. More... | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
Public Attributes | |
Real | cloudHeight |
ManualCullingMode | cullMode |
DeformFunc | deformFunc |
Real | deformParams [5] |
bool | farbox |
String | farboxName |
unsigned int | flags |
bool | fog |
ColourValue | fogColour |
Real | fogDistance |
int | numPasses |
PassList | pass |
bool | skyDome |
Class for recording Quake3 shaders.
This is a temporary holding area since shaders are actually converted into Material objects for use in the engine proper. However, because we have to read in shader definitions en masse (because they are stored in shared .shader files) without knowing which will actually be used, we store their definitions here temporarily since their instantiations as Materials would use precious resources because of the automatic loading of textures etc.
typedef vector<Pass>::type Ogre::Quake3Shader::PassList |
Ogre::Quake3Shader::Quake3Shader | ( | const String & | name | ) |
Default constructor - used by Quake3ShaderManager (do not call directly)
Ogre::Quake3Shader::~Quake3Shader | ( | ) |
MaterialPtr Ogre::Quake3Shader::createAsMaterial | ( | int | lightmapNumber | ) |
Creates this shader as an OGRE material.
Creates a new material based on this shaders settings. Material name shader::lightmap.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
Real Ogre::Quake3Shader::cloudHeight |
ManualCullingMode Ogre::Quake3Shader::cullMode |
DeformFunc Ogre::Quake3Shader::deformFunc |
Real Ogre::Quake3Shader::deformParams[5] |
bool Ogre::Quake3Shader::farbox |
String Ogre::Quake3Shader::farboxName |
unsigned int Ogre::Quake3Shader::flags |
bool Ogre::Quake3Shader::fog |
ColourValue Ogre::Quake3Shader::fogColour |
Real Ogre::Quake3Shader::fogDistance |
int Ogre::Quake3Shader::numPasses |
PassList Ogre::Quake3Shader::pass |
bool Ogre::Quake3Shader::skyDome |