Vuo  0.7.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
VuoSyphonListener.m File Reference

Description

VuoSyphonInternal implementation.

Functions

void VuoSyphonListener_freeSyphonImageCallback (VuoImage image)
 VuoImage freeCallback that releases the SyphonImage (but doesn't delete the texture).
 

Variables

static const char * fragmentShaderSource
 Samples a GL_TEXTURE_RECT (for conversion to GL_TEXTURE_2D).
 

Function Documentation

void VuoSyphonListener_freeSyphonImageCallback ( VuoImage  image)

VuoImage freeCallback that releases the SyphonImage (but doesn't delete the texture).

Variable Documentation

const char* fragmentShaderSource
static
Initial value:
uniform sampler2DRect texture;
uniform vec2 textureSize;
varying vec4 fragmentTextureCoordinate;
void main()
{
gl_FragColor = texture2DRect(texture, fragmentTextureCoordinate.xy*textureSize);
}
)

Samples a GL_TEXTURE_RECT (for conversion to GL_TEXTURE_2D).