An entry in the GL Texture pool.
Definition at line 167 of file VuoGlPool.cc.
Public Member Functions | |
VuoGlTextureDescriptor (GLenum target, GLenum internalFormat, unsigned short width, unsigned short height) | |
Creates a texture descriptor. More... | |
bool | operator< (const VuoGlTextureDescriptor &that) const |
Returns true if a is less than b . More... | |
string | toString () const |
Returns a summary of the texture descriptor. More... | |
Public Attributes | |
GLenum | target |
The texture target, e.g., GL_TEXTURE_2D. More... | |
GLenum | internalFormat |
The texture internalformat, e.g., GL_RGBA. More... | |
unsigned short | width |
The texture width, in pixels. More... | |
unsigned short | height |
The texture height, in pixels. More... | |
|
inline |
Creates a texture descriptor.
Definition at line 178 of file VuoGlPool.cc.
|
inline |
Returns true if a
is less than b
.
Definition at line 189 of file VuoGlPool.cc.
|
inline |
Returns a summary of the texture descriptor.
Definition at line 201 of file VuoGlPool.cc.
unsigned short VuoGlTextureDescriptor::height |
The texture height, in pixels.
Definition at line 173 of file VuoGlPool.cc.
GLenum VuoGlTextureDescriptor::internalFormat |
The texture internalformat, e.g., GL_RGBA.
Definition at line 171 of file VuoGlPool.cc.
GLenum VuoGlTextureDescriptor::target |
The texture target, e.g., GL_TEXTURE_2D.
Definition at line 170 of file VuoGlPool.cc.
unsigned short VuoGlTextureDescriptor::width |
The texture width, in pixels.
Definition at line 172 of file VuoGlPool.cc.