#include <texture.h>
Definition at line 28 of file texture.h.
◆ Texture() [1/3]
◆ Texture() [2/3]
Texture::Texture |
( |
const Size & |
size | ) |
|
◆ Texture() [3/3]
Texture::Texture |
( |
const ImagePtr & |
image, |
|
|
bool |
buildMipmaps = false , |
|
|
bool |
compress = false |
|
) |
| |
◆ ~Texture()
◆ bind()
◆ buildHardwareMipmaps()
bool Texture::buildHardwareMipmaps |
( |
| ) |
|
|
virtual |
◆ copyFromScreen()
void Texture::copyFromScreen |
( |
const Rect & |
screenRect | ) |
|
◆ createTexture()
void Texture::createTexture |
( |
| ) |
|
|
protected |
◆ getGlSize()
const Size& Texture::getGlSize |
( |
| ) |
|
|
inline |
◆ getHeight()
int Texture::getHeight |
( |
| ) |
|
|
inline |
◆ getId()
◆ getSize()
const Size& Texture::getSize |
( |
| ) |
|
|
inline |
◆ getTime()
◆ getTransformMatrix()
const Matrix3& Texture::getTransformMatrix |
( |
| ) |
|
|
inline |
◆ getWidth()
int Texture::getWidth |
( |
| ) |
|
|
inline |
◆ hasMipmaps()
bool Texture::hasMipmaps |
( |
| ) |
|
|
inline |
◆ hasRepeat()
bool Texture::hasRepeat |
( |
| ) |
|
|
inline |
◆ isAnimatedTexture()
virtual bool Texture::isAnimatedTexture |
( |
| ) |
|
|
inlinevirtual |
◆ isEmpty()
bool Texture::isEmpty |
( |
| ) |
|
|
inline |
◆ setRepeat()
void Texture::setRepeat |
( |
bool |
repeat | ) |
|
|
virtual |
◆ setSmooth()
void Texture::setSmooth |
( |
bool |
smooth | ) |
|
|
virtual |
◆ setTime()
void Texture::setTime |
( |
ticks_t |
time | ) |
|
|
inline |
◆ setupFilters()
void Texture::setupFilters |
( |
| ) |
|
|
protected |
◆ setupPixels()
void Texture::setupPixels |
( |
int |
level, |
|
|
const Size & |
size, |
|
|
uchar * |
pixels, |
|
|
int |
channels = 4 , |
|
|
bool |
compress = false |
|
) |
| |
|
protected |
◆ setUpsideDown()
void Texture::setUpsideDown |
( |
bool |
upsideDown | ) |
|
◆ setupSize()
bool Texture::setupSize |
( |
const Size & |
size, |
|
|
bool |
forcePowerOfTwo = false |
|
) |
| |
|
protected |
◆ setupTranformMatrix()
void Texture::setupTranformMatrix |
( |
| ) |
|
|
protected |
◆ setupWrap()
void Texture::setupWrap |
( |
| ) |
|
|
protected |
◆ uploadPixels()
void Texture::uploadPixels |
( |
const ImagePtr & |
image, |
|
|
bool |
buildMipmaps = false , |
|
|
bool |
compress = false |
|
) |
| |
◆ m_glSize
◆ m_hasMipmaps
◆ m_id
◆ m_repeat
◆ m_size
◆ m_smooth
◆ m_time
◆ m_transformMatrix
◆ m_upsideDown
The documentation for this class was generated from the following files: