IShader Class Reference

#include <ishader.h>

Inheritance diagram for IShader:
Inheritance graph
[legend]

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_tgetTexture () 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

Detailed Description

Definition at line 30 of file ishader.h.


Member Enumeration Documentation

Enumerator:
eAlways 
eEqual 
eLess 
eGreater 
eLEqual 
eGEqual 

Definition at line 34 of file ishader.h.

Enumerator:
eCullNone 
eCullBack 

Definition at line 39 of file ishader.h.


Constructor & Destructor Documentation

virtual IShader::~IShader (  )  [inline, virtual]

Definition at line 44 of file ishader.h.


Member Function Documentation

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]

get shader name

Implemented in MaterialShader.

Referenced by TextureNameList::forEach().

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.


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

Generated by  doxygen 1.6.2