beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

ArrayToTexture_v2 Op



ArrayToTexture
Namespace: Ops.Gl

Op author: pandur

Test Patches: 1 Test

create a texture from an array of number values


array should consist of RGBA values between 0 and 1
So that's 4 values per pixel



Inputs

Update (Trigger)

Trigger in

array (Array)

Array in to turn into a texture

Source Structure index (integer /Number)
Size index (integer /Number)
width (integer /Number)

Width of texture

height (integer /Number)

Height of texture

Fill Up (boolean /Number)
Pixel Format index (integer /Number)
Filter index (integer /Number)
Wrap index (integer /Number)

Outputs

Next (Trigger)

Trigger out

Texture out (Object)

Texture out

Tex Width (Number)
Tex Height (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

TextureFromColorArray example


Patches using ArrayToTexture_v2

  • Examples
  • Public
  • My Patches

Changelog


created op
2019-03-27 - pandur
cloned op from Ops.Gl.TextureFromColorArray
2023-02-10 - pandur
renameOps.User.pandur.TextureFromColorArray2 renamed to Ops.Gl.TextureFromColorArray_v2
2023-02-10 - pandur
renameOps.Gl.TextureFromColorArray_v2 renamed to Ops.Gl.ArrayToTexture_v2
2023-06-05 - pandur