Vuo  0.8.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Enumerations | Functions
VuoImageColorDepth

Description

An image's color bit-depth.

Enumerations

enum  VuoImageColorDepth { VuoImageColorDepth_8, VuoImageColorDepth_16 }
 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_valueFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_object * VuoImageColorDepth_jsonFromValue (const VuoImageColorDepth value)
 Encodes value as a JSON object.
 
VuoList_VuoImageColorDepth VuoImageColorDepth_allowedValues (void)
 Returns a list of values that instances of this type can have.
 
char * VuoImageColorDepth_summaryFromValue (const VuoImageColorDepth value)
 Returns a compact string representation of value.
 
VuoImageColorDepth VuoImageColorDepth_valueFromString (const char *str)
 Automatically generated function.
 
char * VuoImageColorDepth_stringFromValue (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

An image's color bit-depth.

Function Documentation

VuoList_VuoImageColorDepth VuoImageColorDepth_allowedValues ( void  )

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

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_RGBA
  • GL_BGRA
  • GL_LUMINANCE
  • GL_LUMINANCE_ALPHA
struct json_object* VuoImageColorDepth_jsonFromValue ( const VuoImageColorDepth  value)
read

Encodes value as a JSON object.

void VuoImageColorDepth_release ( VuoImageColorDepth  value)

Automatically generated function.

void VuoImageColorDepth_retain ( VuoImageColorDepth  value)

Automatically generated function.

char* VuoImageColorDepth_stringFromValue ( const VuoImageColorDepth  value)

Automatically generated function.

char* VuoImageColorDepth_summaryFromValue ( const VuoImageColorDepth  value)

Returns a compact string representation of value.

VuoImageColorDepth VuoImageColorDepth_valueFromJson ( json_object *  js)

Decodes the JSON object js to create a new value.

Example:
"8bpc"
VuoImageColorDepth VuoImageColorDepth_valueFromString ( const char *  str)

Automatically generated function.