Vuo  2.3.2
Public Member Functions | Public Attributes | List of all members
VuoGlTextureDescriptor Class Reference

Description

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...
 

Constructor & Destructor Documentation

◆ VuoGlTextureDescriptor()

VuoGlTextureDescriptor::VuoGlTextureDescriptor ( GLenum  target,
GLenum  internalFormat,
unsigned short  width,
unsigned short  height 
)
inline

Creates a texture descriptor.

Definition at line 178 of file VuoGlPool.cc.

Member Function Documentation

◆ operator<()

bool VuoGlTextureDescriptor::operator< ( const VuoGlTextureDescriptor that) const
inline

Returns true if a is less than b.

Definition at line 189 of file VuoGlPool.cc.

◆ toString()

string VuoGlTextureDescriptor::toString ( void  ) const
inline

Returns a summary of the texture descriptor.

Definition at line 201 of file VuoGlPool.cc.

Member Data Documentation

◆ height

unsigned short VuoGlTextureDescriptor::height

The texture height, in pixels.

Definition at line 173 of file VuoGlPool.cc.

◆ internalFormat

GLenum VuoGlTextureDescriptor::internalFormat

The texture internalformat, e.g., GL_RGBA.

Definition at line 171 of file VuoGlPool.cc.

◆ target

GLenum VuoGlTextureDescriptor::target

The texture target, e.g., GL_TEXTURE_2D.

Definition at line 170 of file VuoGlPool.cc.

◆ width

unsigned short VuoGlTextureDescriptor::width

The texture width, in pixels.

Definition at line 172 of file VuoGlPool.cc.


The documentation for this class was generated from the following file: