Vuo 2.4.4
Loading...
Searching...
No Matches
Enumerations | Functions
VuoImageColorDepth

Description

An image's color bit-depth.

Enumerations

enum  VuoImageColorDepth { VuoImageColorDepth_8 , VuoImageColorDepth_16 , VuoImageColorDepth_32 }
 An image's color bit-depth. More...
 

Functions

unsigned int VuoImageColorDepth_getGlInternalFormat (unsigned int baseFormat, VuoImageColorDepth imageColorDepth)
 Returns the OpenGL internal format constant for a texture with the specified baseFormat and imageColorDepth.
 
VuoImageColorDepth VuoImageColorDepth_makeFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_object * VuoImageColorDepth_getJson (const VuoImageColorDepth value)
 Encodes value as a JSON object.
 
VuoList_VuoImageColorDepth VuoImageColorDepth_getAllowedValues (void)
 Returns a list of values that instances of this type can have.
 
char * VuoImageColorDepth_getSummary (const VuoImageColorDepth value)
 Returns a compact string representation of value.
 
char * VuoImageColorDepth_getString (const VuoImageColorDepth value)
 Automatically generated function.
 
void VuoImageColorDepth_retain (VuoImageColorDepth value)
 Automatically generated function.
 
void VuoImageColorDepth_release (VuoImageColorDepth value)
 Automatically generated function.
 

Enumeration Type Documentation

◆ VuoImageColorDepth

An image's color bit-depth.

Definition at line 28 of file VuoImageColorDepth.h.

Function Documentation

◆ VuoImageColorDepth_getAllowedValues()

VuoList_VuoImageColorDepth VuoImageColorDepth_getAllowedValues ( void  )

Returns a list of values that instances of this type can have.

Definition at line 137 of file VuoImageColorDepth.c.

◆ VuoImageColorDepth_getGlInternalFormat()

unsigned int VuoImageColorDepth_getGlInternalFormat ( unsigned int  baseFormat,
VuoImageColorDepth  imageColorDepth 
)

Returns the OpenGL internal format constant for a texture with the specified baseFormat and imageColorDepth.

baseFormat can be:

  • GL_RGB
  • GL_BGR
  • GL_YCBCR_422_APPLE
  • GL_RGBA
  • GL_BGRA
  • GL_LUMINANCE
  • GL_LUMINANCE_ALPHA

Definition at line 46 of file VuoImageColorDepth.c.

◆ VuoImageColorDepth_getJson()

struct json_object * VuoImageColorDepth_getJson ( const VuoImageColorDepth  value)

Encodes value as a JSON object.

Definition at line 114 of file VuoImageColorDepth.c.

◆ VuoImageColorDepth_getString()

char * VuoImageColorDepth_getString ( const VuoImageColorDepth  value)

Automatically generated function.

◆ VuoImageColorDepth_getSummary()

char * VuoImageColorDepth_getSummary ( const VuoImageColorDepth  value)

Returns a compact string representation of value.

Definition at line 149 of file VuoImageColorDepth.c.

◆ VuoImageColorDepth_makeFromJson()

VuoImageColorDepth VuoImageColorDepth_makeFromJson ( json_object *  js)

Decodes the JSON object js to create a new value.

Example:
"8bpc"

Definition at line 95 of file VuoImageColorDepth.c.

◆ VuoImageColorDepth_release()

void VuoImageColorDepth_release ( VuoImageColorDepth  value)

Automatically generated function.

◆ VuoImageColorDepth_retain()

void VuoImageColorDepth_retain ( VuoImageColorDepth  value)

Automatically generated function.