jit.gl.textureset Reference

A set of textures for storage and resequencing

jit.gl.textureset

Examples

Arguments

texturecount [int]

Optional

The number of textures in the texture set (default = 1)

drawto [message]

Optional

The named drawing context in which to draw (default = none). A named drawing context is a named instance of a jit.world, jit.pworld or jit.gl.node object. If no argument is provided the object will find a context implicitly.

Attributes

adapt [int]

Enable jit.gl.texture adapt to input attribute (default = 1). When enabled the texture output dimensions will match the input dimensions.

dims [int]

Set the dimensions of output textures (default = 256 256) when the adapt attribute is disabled.

index [int]

Set which of texture in the set an incoming texture will be written to (default = 0)

Common Box Attributes

Messages

clear

Clear all stored textures

outputtexture

Arguments

index [int]
Output the texture currently stored at index.

See Also

Name Description
jit.matrixset
jit.gl.texture