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


An entry in the GL Texture pool.

Definition at line 167 of file

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 

Creates a texture descriptor.

Definition at line 178 of file

Member Function Documentation

◆ operator<()

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

Returns true if a is less than b.

Definition at line 189 of file

◆ toString()

string VuoGlTextureDescriptor::toString ( void  ) const

Returns a summary of the texture descriptor.

Definition at line 201 of file

Member Data Documentation

◆ height

unsigned short VuoGlTextureDescriptor::height

The texture height, in pixels.

Definition at line 173 of file

◆ internalFormat

GLenum VuoGlTextureDescriptor::internalFormat

The texture internalformat, e.g., GL_RGBA.

Definition at line 171 of file

◆ target

GLenum VuoGlTextureDescriptor::target

The texture target, e.g., GL_TEXTURE_2D.

Definition at line 170 of file

◆ width

unsigned short VuoGlTextureDescriptor::width

The texture width, in pixels.

Definition at line 172 of file

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