OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::Quake3Shader Class Reference

Class for recording Quake3 shaders. More...

#include <OgreQuake3Shader.h>

+ Inheritance diagram for Ogre::Quake3Shader:

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
 

Detailed Description

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.

Member Typedef Documentation

◆ PassList

typedef vector<Pass>::type Ogre::Quake3Shader::PassList

Constructor & Destructor Documentation

◆ Quake3Shader()

Ogre::Quake3Shader::Quake3Shader ( const String name)

Default constructor - used by Quake3ShaderManager (do not call directly)

◆ ~Quake3Shader()

Ogre::Quake3Shader::~Quake3Shader ( )

Member Function Documentation

◆ createAsMaterial()

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.

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

◆ operator new() [1/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [2/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

◆ operator new() [3/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

◆ operator new[]() [1/2]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

◆ operator new[]() [2/2]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Member Data Documentation

◆ cloudHeight

Real Ogre::Quake3Shader::cloudHeight

◆ cullMode

ManualCullingMode Ogre::Quake3Shader::cullMode

◆ deformFunc

DeformFunc Ogre::Quake3Shader::deformFunc

◆ deformParams

Real Ogre::Quake3Shader::deformParams[5]

◆ farbox

bool Ogre::Quake3Shader::farbox

◆ farboxName

String Ogre::Quake3Shader::farboxName

◆ flags

unsigned int Ogre::Quake3Shader::flags

◆ fog

bool Ogre::Quake3Shader::fog

◆ fogColour

ColourValue Ogre::Quake3Shader::fogColour

◆ fogDistance

Real Ogre::Quake3Shader::fogDistance

◆ numPasses

int Ogre::Quake3Shader::numPasses

◆ pass

PassList Ogre::Quake3Shader::pass

◆ skyDome

bool Ogre::Quake3Shader::skyDome

The documentation for this class was generated from the following file: