AURobotServers  4
Public Member Functions | Private Attributes | List of all members
GfxTexture Class Reference

#include <graphics.h>

Public Member Functions

bool Create (int width, int height, const void *data=NULL)
 
GLuint GetId ()
 
 GfxTexture ()
 
void SetPixels (const void *data)
 
 ~GfxTexture ()
 

Private Attributes

int Height
 
GLuint Id
 
int Width
 

Constructor & Destructor Documentation

GfxTexture::GfxTexture ( )
inline
GfxTexture::~GfxTexture ( )
inline

References data.

Member Function Documentation

bool GfxTexture::Create ( int  width,
int  height,
const void *  data = NULL 
)

References check, and GfxShader::Id.

GLuint GfxTexture::GetId ( )
inline

References DrawTextureRect(), and GfxShader::Id.

Referenced by DrawTextureRect().

void GfxTexture::SetPixels ( const void *  data)

References check, and GfxShader::Id.

Member Data Documentation

int GfxTexture::Height
private
GLuint GfxTexture::Id
private
int GfxTexture::Width
private

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