ArrayToTexture_v2 Op
create a texture from an array of number values
Summary (oneliner)
array should consist of RGBA values between 0 and 1
So that's 4 values per pixel
Full Name
- Ops.Gl.ArrayToTexture_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch TextureFromColorArray example
INPUT PORTS
Update (Trigger)
Trigger in
array (Array)
Array in to turn into a texture
Source Structure index (Number:integer ) MONO RGB RGBA
Size index (Number:integer ) Manual Square Row Column
width (Number:integer )
Width of texture
height (Number:integer )
Height of texture
Fill Up (Number:boolean )
Pixel Format index (Number:integer )
Filter index (Number:integer ) nearest linear mipmap
Wrap index (Number:integer )
OUTPUT PORTS
Next (Trigger)
Trigger out
Texture out (Object)
Texture out
Tex Width (Number)
Tex Height (Number)
Patches using ArrayToTexture_v2
Changelog
created op | pandur - 2019-03-27 12:21 | |
cloned op from Ops.Gl.TextureFromColorArray | pandur - 2023-02-10 12:07 | |
rename | Ops.User.pandur.TextureFromColorArray2 renamed to Ops.Gl.TextureFromColorArray_v2 | pandur - 2023-02-10 12:39 |
rename | Ops.Gl.TextureFromColorArray_v2 renamed to Ops.Gl.ArrayToTexture_v2 | pandur - 2023-06-05 11:54 |