#include <ishader.h>
Public Types | |
enum | EAlphaFunc { eAlways, eEqual, eLess, eGreater, eLEqual, eGEqual } |
enum | ECull { eCullNone, eCullBack } |
Public Member Functions | |
virtual | ~IShader () |
virtual void | IncRef ()=0 |
virtual void | DecRef ()=0 |
virtual qtexture_t * | getTexture () const =0 |
virtual const char * | getName () const =0 |
virtual bool | IsInUse () const =0 |
virtual void | SetInUse (bool bInUse)=0 |
virtual int | getFlags () const =0 |
virtual float | getTrans () const =0 |
virtual bool | IsDefault () const =0 |
virtual void | getAlphaFunc (EAlphaFunc *func, float *ref)=0 |
virtual BlendFunc | getBlendFunc () const =0 |
virtual ECull | getCull ()=0 |
Definition at line 30 of file ishader.h.
enum IShader::EAlphaFunc |
enum IShader::ECull |
virtual void IShader::DecRef | ( | ) | [pure virtual] |
Decrement the reference count
Implemented in MaterialShader.
virtual void IShader::getAlphaFunc | ( | EAlphaFunc * | func, | |
float * | ref | |||
) | [pure virtual] |
get the alphaFunc
Implemented in MaterialShader.
virtual BlendFunc IShader::getBlendFunc | ( | ) | const [pure virtual] |
Implemented in MaterialShader.
virtual ECull IShader::getCull | ( | ) | [pure virtual] |
get the cull type
Implemented in MaterialShader.
virtual int IShader::getFlags | ( | ) | const [pure virtual] |
get the editor flags (QER_TRANS)
Implemented in MaterialShader.
virtual const char* IShader::getName | ( | ) | const [pure virtual] |
virtual qtexture_t* IShader::getTexture | ( | ) | const [pure virtual] |
get/set the qtexture_t* Radiant uses to represent this shader object
Implemented in MaterialShader.
virtual float IShader::getTrans | ( | ) | const [pure virtual] |
get the transparency value
Implemented in MaterialShader.
virtual void IShader::IncRef | ( | ) | [pure virtual] |
Increment the number of references to this object
Implemented in MaterialShader.
virtual bool IShader::IsDefault | ( | ) | const [pure virtual] |
test if it's a true shader, or a default shader created to wrap around a texture
Implemented in MaterialShader.
virtual bool IShader::IsInUse | ( | ) | const [pure virtual] |
Implemented in MaterialShader.
virtual void IShader::SetInUse | ( | bool | bInUse | ) | [pure virtual] |
Implemented in MaterialShader.