Vuo
2.4.0
|
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 . More... | |
VuoImageColorDepth | VuoImageColorDepth_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. More... | |
struct json_object * | VuoImageColorDepth_getJson (const VuoImageColorDepth value) |
Encodes value as a JSON object. More... | |
VuoList_VuoImageColorDepth | VuoImageColorDepth_getAllowedValues (void) |
Returns a list of values that instances of this type can have. More... | |
char * | VuoImageColorDepth_getSummary (const VuoImageColorDepth value) |
Returns a compact string representation of value . More... | |
VuoImageColorDepth | VuoImageColorDepth_makeFromString (const char *str) |
Automatically generated function. More... | |
char * | VuoImageColorDepth_getString (const VuoImageColorDepth value) |
Automatically generated function. More... | |
void | VuoImageColorDepth_retain (VuoImageColorDepth value) |
Automatically generated function. More... | |
void | VuoImageColorDepth_release (VuoImageColorDepth value) |
Automatically generated function. More... | |
enum VuoImageColorDepth |
An image's color bit-depth.
Definition at line 28 of file VuoImageColorDepth.h.
VuoList_VuoImageColorDepth VuoImageColorDepth_getAllowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
Definition at line 135 of file VuoImageColorDepth.c.
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:
Definition at line 44 of file VuoImageColorDepth.c.
struct json_object * VuoImageColorDepth_getJson | ( | const VuoImageColorDepth | value | ) |
Encodes value
as a JSON object.
Definition at line 112 of file VuoImageColorDepth.c.
char * VuoImageColorDepth_getString | ( | const VuoImageColorDepth | value | ) |
Automatically generated function.
char * VuoImageColorDepth_getSummary | ( | const VuoImageColorDepth | value | ) |
Returns a compact string representation of value
.
Definition at line 147 of file VuoImageColorDepth.c.
VuoImageColorDepth VuoImageColorDepth_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 93 of file VuoImageColorDepth.c.
VuoImageColorDepth VuoImageColorDepth_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoImageColorDepth_release | ( | VuoImageColorDepth | value | ) |
Automatically generated function.
void VuoImageColorDepth_retain | ( | VuoImageColorDepth | value | ) |
Automatically generated function.