Vuo  0.5.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Functions
VuoImage.h File Reference

Description

VuoImage C type definition.

Classes

struct  _VuoImage
 An image residing in GPU memory (GL Texture Object). More...
 

Typedefs

typedef struct _VuoImageVuoImage
 An image residing in GPU memory (GL Texture Object).
 
typedef void(* VuoImage_freeCallback )(VuoImage imageToFree)
 A callback to be implemented if non-Vuo code needs to retain ownership of the GL texture (instead of the default behavior where VuoImage takes ownership of the texture).
 

Functions

VuoImage VuoImage_make (unsigned int glTextureName, 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_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.