VuoImage C type definition.
- Copyright
- Copyright © 2012–2014 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see http://vuo.org/license.
|
VuoImage | VuoImage_make (unsigned int glTextureName, unsigned int glInternalFormat, unsigned long int pixelsWide, unsigned long int pixelsHigh) |
| Returns a new VuoImage structure representing the specified glTextureName .
|
|
VuoImage | VuoImage_makeClientOwned (unsigned int glTextureName, unsigned long int pixelsWide, unsigned long int pixelsHigh, VuoImage_freeCallback freeCallback, void *freeCallbackContext) |
| Returns a new VuoImage structure representing the specified glTextureName .
|
|
VuoImage | VuoImage_makeFromBuffer (unsigned char *pixels, unsigned int format, unsigned int pixelsWide, unsigned int pixelsHigh) |
| Uploads the specified pixel data to the GPU and returns a new VuoImage referencing it.
|
|
VuoImage | VuoImage_makeColorImage (VuoColor color, unsigned int pixelsWide, unsigned int pixelsHigh) |
| Makes a solid-color image.
|
|
VuoRectangle | VuoImage_getRectangle (const VuoImage image) |
| Returns a rectangle (in Vuo Coordinates) at the origin, with width 2 and height matching the image's aspect ratio.
|
|
VuoImage | VuoImage_valueFromJson (json_object *js) |
| Decodes the JSON object js to create a new value.
|
|
json_object * | VuoImage_jsonFromValue (const VuoImage value) |
| Encodes value as a JSON object.
|
|
json_object * | VuoImage_interprocessJsonFromValue (const VuoImage value) |
| Returns a JSON object containing an interprocess handle for the specified texture.
|
|
char * | VuoImage_summaryFromValue (const VuoImage value) |
| A brief summary of the contents of this texture.
|
|
|
VuoImage | VuoImage_valueFromString (const char *str) |
| Automatically generated function.
|
|
char * | VuoImage_stringFromValue (const VuoImage value) |
| Automatically generated function.
|
|
char * | VuoImage_interprocessStringFromValue (const VuoImage value) |
| Automatically generated function.
|
|