This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
Internal texture data structure. More...
#include <ofTexture.h>
Public Member Functions | |
ofTextureData () | |
Public Attributes | |
unsigned int | textureID |
GL internal texture ID. | |
int | textureTarget |
int | glInternalFormat |
float | tex_t |
Texture horizontal coordinate, ratio of width to display width. | |
float | tex_u |
Texture vertical coordinate, ratio of height to display height. | |
float | tex_w |
Texture width (in pixels). | |
float | tex_h |
Texture height (in pixels). | |
float | width |
float | height |
Texture display size. | |
bool | bFlipTexture |
Should the texture be flipped vertically? | |
ofTexCompression | compressionType |
Texture compression type. | |
bool | bAllocated |
Has the texture been allocated? | |
GLint | minFilter |
Filter to use for minification (reduction). | |
GLint | magFilter |
Filter to use for magnification (enlargement). | |
GLint | wrapModeHorizontal |
How will the texture wrap around horizontally? | |
GLint | wrapModeVertical |
How will the texture wrap around vertically? | |
unsigned int | bufferId |
Optionally if the texture is backed by a buffer so we can bind it. | |
Friends | |
class | ofTexture |
Detailed Description
Internal texture data structure.
\advanced
Used by ofTexture internally. You won't need to work with this in most cases.
Constructor & Destructor Documentation
◆ ofTextureData()
|
inline |
Friends And Related Symbol Documentation
◆ ofTexture
|
friend |
Member Data Documentation
◆ bAllocated
bool ofTextureData::bAllocated |
Has the texture been allocated?
◆ bFlipTexture
bool ofTextureData::bFlipTexture |
Should the texture be flipped vertically?
◆ bufferId
unsigned int ofTextureData::bufferId |
Optionally if the texture is backed by a buffer so we can bind it.
◆ compressionType
ofTexCompression ofTextureData::compressionType |
Texture compression type.
◆ glInternalFormat
int ofTextureData::glInternalFormat |
GL internal format, e.g. GL_RGB8.
◆ height
float ofTextureData::height |
Texture display size.
◆ magFilter
GLint ofTextureData::magFilter |
Filter to use for magnification (enlargement).
◆ minFilter
GLint ofTextureData::minFilter |
Filter to use for minification (reduction).
◆ tex_h
float ofTextureData::tex_h |
Texture height (in pixels).
◆ tex_t
float ofTextureData::tex_t |
Texture horizontal coordinate, ratio of width to display width.
◆ tex_u
float ofTextureData::tex_u |
Texture vertical coordinate, ratio of height to display height.
◆ tex_w
float ofTextureData::tex_w |
Texture width (in pixels).
◆ textureID
unsigned int ofTextureData::textureID |
GL internal texture ID.
◆ textureTarget
int ofTextureData::textureTarget |
GL texture type, either GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_ARB.
◆ width
float ofTextureData::width |
◆ wrapModeHorizontal
GLint ofTextureData::wrapModeHorizontal |
How will the texture wrap around horizontally?
◆ wrapModeVertical
GLint ofTextureData::wrapModeVertical |
How will the texture wrap around vertically?
The documentation for this class was generated from the following file:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/gl/ofTexture.h