#include <Texture.h>
cinder::gl::TextureData::TextureData |
( |
| ) |
|
cinder::gl::TextureData::TextureData |
( |
const PboRef & |
pbo | ) |
|
Binds the pbo if it's not nullptr.
cinder::gl::TextureData::~TextureData |
( |
| ) |
|
Unbinds the pbo if it is not nullptr.
GLint cinder::gl::TextureData::getWidth |
( |
| ) |
const |
void cinder::gl::TextureData::setWidth |
( |
GLint |
width | ) |
|
GLint cinder::gl::TextureData::getHeight |
( |
| ) |
const |
void cinder::gl::TextureData::setHeight |
( |
GLint |
height | ) |
|
GLint cinder::gl::TextureData::getDepth |
( |
| ) |
const |
void cinder::gl::TextureData::setDepth |
( |
GLint |
depth | ) |
|
GLint cinder::gl::TextureData::getNumFaces |
( |
| ) |
const |
void cinder::gl::TextureData::setNumFaces |
( |
GLint |
numFaces | ) |
|
bool cinder::gl::TextureData::isCompressed |
( |
| ) |
const |
GLint cinder::gl::TextureData::getInternalFormat |
( |
| ) |
const |
void cinder::gl::TextureData::setInternalFormat |
( |
GLint |
internalFormat | ) |
|
GLenum cinder::gl::TextureData::getDataFormat |
( |
| ) |
const |
void cinder::gl::TextureData::setDataFormat |
( |
GLenum |
dataFormat | ) |
|
GLenum cinder::gl::TextureData::getDataType |
( |
| ) |
const |
void cinder::gl::TextureData::setDataType |
( |
GLenum |
dataType | ) |
|
GLint cinder::gl::TextureData::getUnpackAlignment |
( |
| ) |
const |
void cinder::gl::TextureData::setUnpackAlignment |
( |
GLint |
unpackAlignment | ) |
|
const std::array<GLint,4>& cinder::gl::TextureData::getSwizzleMask |
( |
| ) |
const |
void cinder::gl::TextureData::setSwizzleMask |
( |
const std::array< GLint, 4 > & |
swizzleMask | ) |
|
size_t cinder::gl::TextureData::getNumLevels |
( |
| ) |
const |
const std::vector<Level>& cinder::gl::TextureData::getLevels |
( |
| ) |
const |
std::vector<Level>& cinder::gl::TextureData::getLevels |
( |
| ) |
|
Level& cinder::gl::TextureData::back |
( |
| ) |
|
void cinder::gl::TextureData::push_back |
( |
const Level & |
level | ) |
|
void cinder::gl::TextureData::clear |
( |
| ) |
|
void cinder::gl::TextureData::allocateDataStore |
( |
size_t |
requireBytes | ) |
|
size_t cinder::gl::TextureData::getDataStoreSize |
( |
| ) |
const |
void * cinder::gl::TextureData::getDataStorePtr |
( |
size_t |
offset | ) |
const |
void cinder::gl::TextureData::mapDataStore |
( |
| ) |
|
void cinder::gl::TextureData::unmapDataStore |
( |
| ) |
|
The documentation for this class was generated from the following files: