Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
BlendBrush Struct Reference

Public Member Functions

 BlendBrush (const char *name, int w, int h)
 
 ~BlendBrush ()
 
void cleanup ()
 
void gentex ()
 
void reorient (bool flipx, bool flipy, bool swapxy)
 

Public Attributes

char * name
 
int w
 
int h
 
uchardata
 
GLuint tex
 

Constructor & Destructor Documentation

BlendBrush::BlendBrush ( const char *  name,
int  w,
int  h 
)
inline
BlendBrush::~BlendBrush ( )
inline

References cleanup(), data, and name.

Member Function Documentation

void BlendBrush::cleanup ( )
inline

References tex.

Referenced by ~BlendBrush().

void BlendBrush::gentex ( )
inline

References createtexture(), data, GL_R8, h, hasTRG, loopi(), loopj, tex, and w.

Referenced by renderblendbrush(), and reorient().

void BlendBrush::reorient ( bool  flipx,
bool  flipy,
bool  swapxy 
)
inline

References data, gentex(), h, loopi(), loopj, tex, and w.

Referenced by rotateblendbrush().

Member Data Documentation

uchar* BlendBrush::data
int BlendBrush::h
char* BlendBrush::name

Referenced by ~BlendBrush().

GLuint BlendBrush::tex
int BlendBrush::w

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