#include <ofTexture.h>
List of all members.
Public Member Functions |
| ofTexture () |
virtual | ~ofTexture () |
| ofTexture (const ofTexture &mom) |
ofTexture & | operator= (const ofTexture &mom) |
void | allocate (int w, int h, int internalGlDataType) |
void | allocate (int w, int h, int internalGlDataType, bool bUseARBExtention) |
void | clear () |
void | loadData (unsigned char *data, int w, int h, int glDataType) |
void | loadScreenData (int x, int y, int w, int h) |
void | setAnchorPercent (float xPct, float yPct) |
void | setAnchorPoint (int x, int y) |
void | resetAnchor () |
void | draw (float x, float y, float w, float h) |
void | draw (float x, float y) |
void | bind () |
void | unbind () |
bool | bAllocated () |
ofTextureData | getTextureData () |
float | getHeight () |
float | getWidth () |
Public Attributes |
ofTextureData | texData |
Protected Attributes |
ofPoint | anchor |
bool | bAnchorIsPct |
Constructor & Destructor Documentation
ofTexture::~ofTexture |
( |
) |
[virtual] |
ofTexture::ofTexture |
( |
const ofTexture & |
mom ) |
|
Member Function Documentation
void ofTexture::allocate |
( |
int |
w, |
|
|
int |
h, |
|
|
int |
internalGlDataType |
|
) |
| |
void ofTexture::allocate |
( |
int |
w, |
|
|
int |
h, |
|
|
int |
internalGlDataType, |
|
|
bool |
bUseARBExtention |
|
) |
| |
bool ofTexture::bAllocated |
( |
) |
|
void ofTexture::clear |
( |
) |
|
void ofTexture::draw |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
w, |
|
|
float |
h |
|
) |
| [virtual] |
void ofTexture::draw |
( |
float |
x, |
|
|
float |
y |
|
) |
| [virtual] |
float ofTexture::getHeight |
( |
) |
[virtual] |
float ofTexture::getWidth |
( |
) |
[virtual] |
void ofTexture::loadData |
( |
unsigned char * |
data, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
glDataType |
|
) |
| |
void ofTexture::loadScreenData |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
void ofTexture::resetAnchor |
( |
) |
[virtual] |
void ofTexture::setAnchorPercent |
( |
float |
xPct, |
|
|
float |
yPct |
|
) |
| [virtual] |
void ofTexture::setAnchorPoint |
( |
int |
x, |
|
|
int |
y |
|
) |
| [virtual] |
void ofTexture::unbind |
( |
) |
|
Member Data Documentation
The documentation for this class was generated from the following files: