Vuo  2.0.0
Classes | Macros | Typedefs | Functions

Description

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

Classes

struct  _VuoImage
 An image residing in GPU memory (GL Texture Object), with an optional CPU copy. More...
 

Macros

#define VuoImage_SUPPORTS_COMPARISON
 This type has _areEqual() and _isLessThan() functions. More...
 
#define VuoImage_REQUIRES_INTERPROCESS_JSON
 This type has a _getInterprocessJson() function. More...
 

Typedefs

typedef struct _VuoImageVuoImage
 An image residing in GPU memory (GL Texture Object). More...
 
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). More...
 

Functions

VuoImage VuoImage_get (const char *imageURL)
 
void VuoImage_free (void *texture)
 
VuoImage VuoImage_make (unsigned int glTextureName, unsigned int glInternalFormat, unsigned long int pixelsWide, unsigned long int pixelsHigh)
 
VuoImage VuoImage_makeClientOwned (unsigned int glTextureName, unsigned int glInternalFormat, unsigned long int pixelsWide, unsigned long int pixelsHigh, VuoImage_freeCallback freeCallback, void *freeCallbackContext)
 
VuoImage VuoImage_makeClientOwnedGlTextureRectangle (unsigned int glTextureName, unsigned int glInternalFormat, unsigned long int pixelsWide, unsigned long int pixelsHigh, VuoImage_freeCallback freeCallback, void *freeCallbackContext)
 
VuoImage VuoImage_makeFromBuffer (const void *pixels, unsigned int format, unsigned int pixelsWide, unsigned int pixelsHigh, VuoImageColorDepth colorDepth, void(^freeCallback)(void *pixels))
 
VuoImage VuoImage_makeFromJson (json_object *js)
 
VuoImage VuoImage_makeFromJsonWithDimensions (struct json_object *js, unsigned int requestedPixelsWide, unsigned int requestedPixelsHigh)
 
json_objectVuoImage_getJson (const VuoImage value)
 
json_objectVuoImage_getInterprocessJson (const VuoImage value)
 
char * VuoImage_getSummary (const VuoImage value)
 
VuoImage VuoImage_makeFromBufferWithStride (const void *pixels, unsigned int format, unsigned int pixelsWide, unsigned int pixelsHigh, unsigned int bytesPerRow, VuoImageColorDepth colorDepth, void(^freeCallback)(void *pixels)) __attribute__((nonnull(1)))
 Same as VuoImage_makeFromBuffer, but accepts a nonstandard stride (bytesPerRow). More...
 
VuoImage VuoImage_makeColorImage (VuoColor color, unsigned int pixelsWide, unsigned int pixelsHigh)
 Makes a solid-color image. More...
 
VuoImage VuoImage_makeCopy (VuoImage image, bool flip, unsigned int forcePixelsWide, unsigned int forcePixelsHigh, bool forceAlpha)
 Returns a new texture copy of the passed image. More...
 
VuoImage VuoImage_makeGlTextureRectangleCopy (VuoImage image)
 Copies image to a new GL_TEXTURE_RECTANGLE_ARB texture. More...
 
const unsigned char * VuoImage_getBuffer (VuoImage image, unsigned int requestedFormat)
 Downloads the specified image's pixel data from the GPU to the CPU (or returns it from a cache), and returns the CPU memory buffer. More...
 
VuoImageWrapMode VuoImage_getWrapMode (VuoImage image)
 Returns the image's wrap mode. More...
 
void VuoImage_setWrapMode (VuoImage image, VuoImageWrapMode wrapMode)
 Changes the image's wrap mode. More...
 
VuoImage VuoImage_mapColors (VuoImage image, VuoList_VuoColor colors, VuoReal filterOpacity)
 Returns a color-mapped copy of image. More...
 
bool VuoImage_areEqual (const VuoImage a, const VuoImage b)
 Returns true if both images have the same dimensions and the same RGBA pixel data. More...
 
bool VuoImage_isLessThan (const VuoImage a, const VuoImage b)
 Returns true if the size of a is less than the size of b. More...
 
bool VuoImage_areEqualWithinTolerance (const VuoImage a, const VuoImage b, const unsigned char tolerance)
 Like VuoImage_areEqual(), but permits color channel values to differ by up to tolerance. More...
 
bool VuoImage_isEmpty (const VuoImage image)
 
bool VuoImage_isPopulated (const VuoImage 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. More...
 
VuoImageColorDepth VuoImage_getColorDepth (const VuoImage image)
 Returns the color depth of the image. More...
 
GLuint VuoImage_resolveInterprocessJsonUsingTextureProvider (struct json_object *js, GLuint(^provider)(unsigned int pixelsWide, unsigned int pixelsHigh), unsigned int *outputPixelsWide, unsigned int *outputPixelsHigh, void *outputIOSurface) VuoWarnUnusedResult
 Decodes the JSON object js onto a host-provided OpenGL texture's GL_TEXTURE_RECTANGLE_ARB target. More...
 
bool VuoImage_resolveInterprocessJsonUsingClientTexture (struct json_object *js, GLuint textureName, unsigned int pixelsWide, unsigned int pixelsHigh, void *outputIOSurface) VuoWarnUnusedResult
 Decodes the JSON object js onto a host-provided OpenGL texture's GL_TEXTURE_RECTANGLE_ARB target. More...
 
bool VuoImage_resolveInterprocessJsonOntoFramebuffer (struct json_object *js, VuoGlContext context, bool flip) VuoWarnUnusedResult
 Decodes the JSON object js onto the framebuffer of a host-provided OpenGL context. More...
 
VuoImage VuoImage_makeFromString (const char *str)
 Automatically generated function. More...
 
char * VuoImage_getString (const VuoImage value)
 Automatically generated function. More...
 
char * VuoImage_getInterprocessString (const VuoImage value)
 Automatically generated function. More...
 
void VuoImage_retain (VuoImage value)
 Automatically generated function. More...
 
void VuoImage_release (VuoImage value)
 Automatically generated function. More...
 

Class Documentation

◆ _VuoImage

struct _VuoImage
Class Members
struct json_object * cpuData Map of GL formats to their char * pixelbuffers and freeCallbacks.
dispatch_queue_t cpuQueue Serializes access to cpuData.
dispatch_once_t cpuQueueInitialized Has cpuQueue been initialized?
void * freeCallbackContext User data for freeCallback. See VuoImage_makeClientOwned.
unsigned int glInternalFormat The OpenGL internal texture format (as provided to glTexImage2D).
unsigned int glTextureName The unique OpenGL texture identifier.
unsigned long int glTextureTarget Always GL_TEXTURE_2D, unless converting from an IOSurface.
unsigned long int pixelsHigh The vertical size of the image, in pixels.
unsigned long int pixelsWide The horizontal size of the image, in pixels.
float scaleFactor Number of linear pixels per point in this image. scaleFactor=1 for @1x images, 2 for @2x (Retina) images.

Macro Definition Documentation

◆ VuoImage_REQUIRES_INTERPROCESS_JSON

#define VuoImage_REQUIRES_INTERPROCESS_JSON

This type has a _getInterprocessJson() function.

Definition at line 115 of file VuoImage.h.

◆ VuoImage_SUPPORTS_COMPARISON

#define VuoImage_SUPPORTS_COMPARISON

This type has _areEqual() and _isLessThan() functions.

Definition at line 96 of file VuoImage.h.

Typedef Documentation

◆ VuoImage

typedef struct _VuoImage* VuoImage

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

The struct is typedef'd to a pointer so that VuoImages are reference-counted, enabling us to automatically delete the GL Texture Object when the last reference is released.

Definition at line 46 of file VuoImage.h.

◆ VuoImage_freeCallback

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).

See also
VuoImage_makeClientOwned

Definition at line 54 of file VuoImage.h.

Function Documentation

◆ VuoImage_areEqual()

bool VuoImage_areEqual ( const VuoImage  a,
const VuoImage  b 
)

Returns true if both images have the same dimensions and the same RGBA pixel data.

Other attributes (pixel format, target) are ignored.

Two NULL images are considered equal. A NULL image is never equal to a non-NULL image.

This operation is fairly expensive — it requires downloading both images from the GPU to the CPU. It's intended primarily for use in automated tests.

Definition at line 769 of file VuoImage.c.

◆ VuoImage_areEqualWithinTolerance()

bool VuoImage_areEqualWithinTolerance ( const VuoImage  a,
const VuoImage  b,
const unsigned char  tolerance 
)

Like VuoImage_areEqual(), but permits color channel values to differ by up to tolerance.

Definition at line 689 of file VuoImage.c.

◆ VuoImage_free()

void VuoImage_free ( void *  texture)

Decrements the retain count of the OpenGL Texture Object associated with the specified VuoImage, and frees the texture VuoImage struct.

This function may be called from any thread.

Definition at line 66 of file VuoImage.c.

◆ VuoImage_get()

VuoImage VuoImage_get ( const char *  imageURL)

Retrieves the image at the specified imageURL, and creates a VuoImage from it.

This function may be called from any thread.

Definition at line 98 of file VuoImageGet.cc.

◆ VuoImage_getBuffer()

const unsigned char* VuoImage_getBuffer ( VuoImage  image,
unsigned int  requestedFormat 
)

Downloads the specified image's pixel data from the GPU to the CPU (or returns it from a cache), and returns the CPU memory buffer.

The return value is a pointer to a buffer of pixel data. Row-major, starting at the bottom (flipped). No row padding. Premultiplied alpha.

The returned buffer is owned by the VuoImage instance; the caller should not modify or free() it.

This function may be called from any thread.

Parameters
imageThe image to download.
requestedFormatAn OpenGL format constant. Supported formats include:
  • GL_RGB (24 bits per pixel)
  • GL_BGR (24 bits per pixel)
  • GL_RGBA (32 bits per pixel)
  • GL_BGRA (32 bits per pixel)
  • GL_RGBA16I_EXT (64 bits per pixel)
  • GL_RGBA16F_ARB (64 bits per pixel)
  • GL_RGBA32F_ARB (128 bits per pixel)
  • GL_R16 (16 bits per pixel)
  • GL_LUMINANCE (8 bits per pixel)
  • GL_LUMINANCE_ALPHA (16 bits per pixel)
  • GL_DEPTH_COMPONENT16 (16 bits per pixel)

Definition at line 419 of file VuoImage.c.

◆ VuoImage_getColorDepth()

VuoImageColorDepth VuoImage_getColorDepth ( const VuoImage  image)

Returns the color depth of the image.

Definition at line 835 of file VuoImage.c.

◆ VuoImage_getInterprocessJson()

struct json_object * VuoImage_getInterprocessJson ( const VuoImage  value)

Returns a JSON object containing an interprocess handle for the specified texture.

value may be either GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_ARB.

This function may be called from any thread.

Definition at line 1451 of file VuoImage.c.

◆ VuoImage_getInterprocessString()

char* VuoImage_getInterprocessString ( const VuoImage  value)

Automatically generated function.

◆ VuoImage_getJson()

struct json_object * VuoImage_getJson ( const VuoImage  value)

Encodes value as a JSON object.

This function may be called from any thread.

Definition at line 1433 of file VuoImage.c.

◆ VuoImage_getRectangle()

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.

Definition at line 827 of file VuoImage.c.

◆ VuoImage_getString()

char* VuoImage_getString ( const VuoImage  value)

Automatically generated function.

◆ VuoImage_getSummary()

char * VuoImage_getSummary ( const VuoImage  value)

A brief summary of the contents of this texture.

This function may be called from any thread.

Example:
GL Texture (ID 42)
640x480

Definition at line 1511 of file VuoImage.c.

◆ VuoImage_getWrapMode()

VuoImageWrapMode VuoImage_getWrapMode ( VuoImage  image)

Returns the image's wrap mode.

Definition at line 560 of file VuoImage.c.

◆ VuoImage_isEmpty()

bool VuoImage_isEmpty ( const VuoImage  image)
  • If either image dimension is 0, returns true.
  • If the image is fully transparent (all pixels have alpha value 0), returns true.
  • Otherwise returns false.

Definition at line 798 of file VuoImage.c.

◆ VuoImage_isLessThan()

bool VuoImage_isLessThan ( const VuoImage  a,
const VuoImage  b 
)

Returns true if the size of a is less than the size of b.

Changed in Vuo 2.0.0:
New.

Definition at line 779 of file VuoImage.c.

◆ VuoImage_isPopulated()

bool VuoImage_isPopulated ( const VuoImage  image)
  • If the image is null, returns false.
  • If either image dimension is 0, returns false.
  • Otherwise returns true.

Definition at line 819 of file VuoImage.c.

◆ VuoImage_make()

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.

The texture must:

  • be of type GL_TEXTURE_2D.
  • use wrap mode GL_CLAMP_TO_EDGE on the S and T axes
  • use minifying and magnification filter GL_LINEAR

The VuoImage takes ownership of glTextureName, and will call glDeleteTextures() on it when it's no longer needed.

VuoImage is intended to be immutable — do not modify the contents of the glTextureName after passing it to this function.

This function may be called from any thread.

Definition at line 156 of file VuoImage.c.

◆ VuoImage_makeClientOwned()

VuoImage VuoImage_makeClientOwned ( unsigned int  glTextureName,
unsigned int  glInternalFormat,
unsigned long int  pixelsWide,
unsigned long int  pixelsHigh,
VuoImage_freeCallback  freeCallback,
void *  freeCallbackContext 
)

Returns a new VuoImage structure representing the specified glTextureName.

The texture must:

  • be of type GL_TEXTURE_2D
  • use wrap mode GL_CLAMP_TO_EDGE on the S and T axes
  • use minifying and magnification filter GL_LINEAR

When the VuoImage is no longer needed, freeCallback is called. The freeCallback may then activate a GL context and delete the texture, or send it back to a texture pool. freeCallback must not be NULL.

freeCallbackContext is optional data passed to freeCallback via the VuoImage struct. Use NULL if you don't need to provide additional data to the callback.

VuoImage is intended to be immutable — do not modify the contents of the glTextureName between passing it to this function and when freeCallback is called.

This function may be called from any thread.

Definition at line 187 of file VuoImage.c.

◆ VuoImage_makeClientOwnedGlTextureRectangle()

VuoImage VuoImage_makeClientOwnedGlTextureRectangle ( unsigned int  glTextureName,
unsigned int  glInternalFormat,
unsigned long int  pixelsWide,
unsigned long int  pixelsHigh,
VuoImage_freeCallback  freeCallback,
void *  freeCallbackContext 
)

Returns a new VuoImage structure representing the specified glTextureName.

The texture must:

  • be of type GL_TEXTURE_RECTANGLE_ARB
  • use wrap mode GL_CLAMP_TO_EDGE on the S and T axes
  • use minifying and magnification filter GL_LINEAR

When the VuoImage is no longer needed, freeCallback is called. The freeCallback may then activate a GL context and delete the texture, or send it back to a texture pool. freeCallback must not be NULL.

freeCallbackContext is optional data passed to freeCallback via the VuoImage struct. Use NULL if you don't need to provide additional data to the callback.

VuoImage is intended to be immutable — do not modify the contents of the glTextureName between passing it to this function and when freeCallback is called.

Note
Images returned by this function may only be passed to functions that explicitly mention support for GL_TEXTURE_RECTANGLE_ARB.

This function may be called from any thread.

Definition at line 225 of file VuoImage.c.

◆ VuoImage_makeColorImage()

VuoImage VuoImage_makeColorImage ( VuoColor  color,
unsigned int  pixelsWide,
unsigned int  pixelsHigh 
)

Makes a solid-color image.

Definition at line 616 of file VuoImage.c.

◆ VuoImage_makeCopy()

VuoImage VuoImage_makeCopy ( VuoImage  image,
bool  flip,
unsigned int  forcePixelsWide,
unsigned int  forcePixelsHigh,
bool  forceAlpha 
)

Returns a new texture copy of the passed image.

Parameters
imageNay be either GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_ARB.
flipIf true, the copied image is flipped upside-down relative to the source image.
forcePixelsWideIf 0, the output image has the same width as the input image. Otherwise stretches the image.
forcePixelsHighIf 0, the output image has the same height as the input image. Otherwise stretches the image.
forceAlphaIf true, the copied image will have an alpha channel, even if the source image doesn't.
Changed in Vuo 2.0.0:
Added forcePixelsWide, forcePixelsHigh, and forceAlpha parameters.

Definition at line 639 of file VuoImage.c.

◆ VuoImage_makeFromBuffer()

VuoImage VuoImage_makeFromBuffer ( const void *  pixels,
unsigned int  format,
unsigned int  pixelsWide,
unsigned int  pixelsHigh,
VuoImageColorDepth  colorDepth,
void(^)(void *pixels)  freeCallback 
)

Uploads the specified pixel data to the GPU and returns a new VuoImage referencing it.

This function may be called from any thread.

Parameters
pixelsPointer to a buffer of pixel data. Row-major, starting at the bottom (flipped). Zero stride. Premultiplied alpha. Vuo takes ownership of this data, and will invoke freeCallback when it's done using it.
formatAn OpenGL format constant. Supported formats include:
  • GL_RGB
  • GL_YCBCR_422_APPLE
  • GL_RGBA
  • GL_BGRA
  • GL_LUMINANCE
  • GL_LUMINANCE_ALPHA
pixelsWideWidth in pixels
pixelsHighHeight in pixels
colorDepthThe number of bits per channel. When 8bpc, pixels should be unsigned char *; when 16bpc, pixels should be __fp16 *; when 32bpc, pixels should be float *.
freeCallback

Definition at line 259 of file VuoImage.c.

◆ VuoImage_makeFromBufferWithStride()

VuoImage VuoImage_makeFromBufferWithStride ( const void *  pixels,
unsigned int  format,
unsigned int  pixelsWide,
unsigned int  pixelsHigh,
unsigned int  bytesPerRow,
VuoImageColorDepth  colorDepth,
void(^)(void *pixels)  freeCallback 
)

Same as VuoImage_makeFromBuffer, but accepts a nonstandard stride (bytesPerRow).

Definition at line 267 of file VuoImage.c.

◆ VuoImage_makeFromJson()

VuoImage VuoImage_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

Automatically activates and deactivates a GL Context (if needed to dereference an IOSurface).

This function may be called from any thread.

Returns
If js contains valid data, returns a pointer to the VuoImage. If not, returns NULL.
Parameters
jsA JSON object containing one of the following schemas:
  • a pointer to a VuoImage:
    Example:
    {
    "pointer": ...
    }
  • an IOSurfaceID and the texture's width and height in pixels:
    Example:
    {
    "ioSurface": 42,
    "pixelsWide": 640,
    "pixelsHigh": 480
    }
  • a color and the texture's width and height in pixels:
    Example:
    {
    "color": {"r":0.5, "g":1, "b":0, "a":1},
    "pixelsWide": 640,
    "pixelsHigh": 480
    }

Definition at line 906 of file VuoImage.c.

◆ VuoImage_makeFromJsonWithDimensions()

VuoImage VuoImage_makeFromJsonWithDimensions ( struct json_object js,
unsigned int  requestedPixelsWide,
unsigned int  requestedPixelsHigh 
)

Decodes the JSON object js to create a new VuoImage.

If the VuoImage's size matches the provided requestedPixelsWide x requestedPixelsHigh, this method behaves the same as VuoImage_makeFromJson. Otherwise, it stretches the image to the requested size.

This function may be called from any thread.

Changed in Vuo 2.0.0:
New.

Definition at line 930 of file VuoImage.c.

◆ VuoImage_makeFromString()

VuoImage VuoImage_makeFromString ( const char *  str)

Automatically generated function.

◆ VuoImage_makeGlTextureRectangleCopy()

VuoImage VuoImage_makeGlTextureRectangleCopy ( VuoImage  image)

Copies image to a new GL_TEXTURE_RECTANGLE_ARB texture.

Note
This is intended for interfacing with host apps; Vuo should always use GL_TEXTURE_2D internally.

Definition at line 671 of file VuoImage.c.

◆ VuoImage_mapColors()

VuoImage VuoImage_mapColors ( VuoImage  image,
VuoList_VuoColor  colors,
VuoReal  filterOpacity 
)

Returns a color-mapped copy of image.

(Or, if colors is empty, returns image.)

Definition at line 28 of file VuoImageMapColors.c.

◆ VuoImage_release()

void VuoImage_release ( VuoImage  value)

Automatically generated function.

◆ VuoImage_resolveInterprocessJsonOntoFramebuffer()

bool VuoImage_resolveInterprocessJsonOntoFramebuffer ( json_object js,
VuoGlContext  context,
bool  flip 
)

Decodes the JSON object js onto the framebuffer of a host-provided OpenGL context.

Parameters
jsAn interprocess JSON object (from, e.g., VuoRunner::getPublishedOutputPortValue) containing an ioSurface.
contextA CGLContextObj. This must be part of the same share group as the context passed to VuoGlContext_setGlobalRootContext.
flipIf true, the image is flipped upside-down when rendering to the framebuffer.

This function may be called from any thread. (However, the caller is responsible for ensuring that the GL context is not used simultaneously on multiple threads.)

Changed in Vuo 2.0.0:
New.

Definition at line 1213 of file VuoImage.c.

◆ VuoImage_resolveInterprocessJsonUsingClientTexture()

bool VuoImage_resolveInterprocessJsonUsingClientTexture ( struct json_object js,
GLuint  clientTextureName,
unsigned int  pixelsWide,
unsigned int  pixelsHigh,
void *  outputIOSurface 
)

Decodes the JSON object js onto a host-provided OpenGL texture's GL_TEXTURE_RECTANGLE_ARB target.

Returns
True if the texture was successfully attached.
Parameters
jsAn interprocess JSON object (from, e.g., VuoRunner::getPublishedOutputPortValue) containing an ioSurface.
clientTextureNameThe OpenGL texture name that the image should be attached to. The host app must not call glTexImage2D() on the texture, since this makes the texture incompatible with the IOSurface backing.
pixelsWideThe width of clientTextureName.
pixelsHighThe height of clientTextureName.
[out]outputIOSurfaceUpon return, this contains the IOSurfaceRef backing the output texture. When the host app is finished with the output texture, it must signal and release the IOSurfaceRef:
VuoIoSurfacePool_signal(outputIOSurface);
CFRelease(outputIOSurface);

This function may be called from any thread.

Changed in Vuo 2.0.0:
New.

Definition at line 1127 of file VuoImage.c.

◆ VuoImage_resolveInterprocessJsonUsingTextureProvider()

GLuint VuoImage_resolveInterprocessJsonUsingTextureProvider ( struct json_object js,
GLuint(^)(unsigned int pixelsWide, unsigned int pixelsHigh)  provider,
unsigned int *  outputPixelsWide,
unsigned int *  outputPixelsHigh,
void *  outputIOSurface 
)

Decodes the JSON object js onto a host-provided OpenGL texture's GL_TEXTURE_RECTANGLE_ARB target.

Returns
If js contains valid data, returns the OpenGL texture name. If not, returns 0.
Parameters
jsAn interprocess JSON object (from, e.g., VuoRunner::getPublishedOutputPortValue) containing an ioSurface.
providerA block that returns an OpenGL texture name with the requested width and height. The host app must not call glTexImage2D() on the texture, since this makes the texture incompatible with the IOSurface backing.
[out]outputPixelsWideUpon return, this contains the width of the output texture.
[out]outputPixelsHighUpon return, this contains the height of the output texture.
[out]outputIOSurfaceUpon return, this contains the IOSurfaceRef backing the output texture. When the host app is finished with the output texture, it must signal and release the IOSurfaceRef:
VuoIoSurfacePool_signal(outputIOSurface);
CFRelease(outputIOSurface);

This function may be called from any thread.

Definition at line 1060 of file VuoImage.c.

◆ VuoImage_retain()

void VuoImage_retain ( VuoImage  value)

Automatically generated function.

◆ VuoImage_setWrapMode()

void VuoImage_setWrapMode ( VuoImage  image,
VuoImageWrapMode  wrapMode 
)

Changes the image's wrap mode.

Definition at line 587 of file VuoImage.c.