#include <TextureProperty.h>
Public Member Functions | |
TextureProperty () | |
virtual | ~TextureProperty () |
void | setTextureData (const void *data) |
void | setWidth (uint32 value) |
void | setHeight (uint32 value) |
void | setFormat (uint32 value) |
void | setChannels (uint32 value) |
const void * | getTextureData () |
uint32 | getWidth () |
uint32 | getHeight () |
uint32 | getFormat () |
uint32 | getChannels () |
const char * | toString () |
scene::TextureProperty::TextureProperty | ( | ) |
Constructor
virtual scene::TextureProperty::~TextureProperty | ( | ) | [inline, virtual] |
Destructor
void scene::TextureProperty::setTextureData | ( | const void * | data | ) |
Set the texture data
data | The texture data |
void scene::TextureProperty::setWidth | ( | uint32 | value | ) |
Set the texture width
value | The texture width |
void scene::TextureProperty::setHeight | ( | uint32 | value | ) |
Set the texture height
value | The texture height |
void scene::TextureProperty::setFormat | ( | uint32 | value | ) |
Set the texture format
value | The texture format |
void scene::TextureProperty::setChannels | ( | uint32 | value | ) |
Set the texture channels
value | The texture channels |
const void* scene::TextureProperty::getTextureData | ( | ) |
Get the texture data
uint32 scene::TextureProperty::getWidth | ( | ) |
Get the texture width
uint32 scene::TextureProperty::getHeight | ( | ) |
Get the texture height
uint32 scene::TextureProperty::getFormat | ( | ) |
Get the texture format
uint32 scene::TextureProperty::getChannels | ( | ) |
Get the texture channels
const char* scene::TextureProperty::toString | ( | ) | [inline, virtual] |