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

SwitchTextures_v2 Op

Ops.Gl.Textures.SwitchTextures_v2


SwitchTextures
Namespace: Ops.Gl.Textures

Op author: pandur

Test Patches: 2 Tests

Switch between different textures


Use an integer to switch between different textures



Inputs

exec (Trigger)

Trigger in

num (integer /Number)

Input port to pick texture from

Default Texture Transparent (boolean /Number)

Enable transparency

texture0 (Object)
texture1 (Object)
texture2 (Object)
texture3 (Object)
texture4 (Object)
texture5 (Object)
texture6 (Object)
texture7 (Object)
texture8 (Object)
texture9 (Object)
texture10 (Object)
texture11 (Object)
texture12 (Object)
texture13 (Object)
texture14 (Object)
texture15 (Object)

Outputs

Next (Trigger)
texture (Object)

Selected texture output

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

SwitchTextures example

Open Example In Editor

Youtube Video Tutorial

Patches using SwitchTextures_v2

Changelog


created op
2020-03-06 - pandur