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

ClearColor Op

Ops.Gl.ClearColor


ClearColor
Namespace: Ops.Gl

Op author: pandur

sets all cleared pixels to one colour. Use to change the background colour.


summary (oneliner)



doc

issues

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Trigger the op


r (Number)

Red color value, between 0.0 and 1.0


g (Number)

Green color value, between 0.0 and 1.0


b (Number)

Blue color value, between 0.0 and 1.0


a (Number)

Alpha value (opacity), between 0.0 (not visible) and 1.0 (fully visible).


Outputs

trigger (Trigger)

Trigger out


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

clearcolor

Open Example In Editor


Examples using ClearColor ()

Public Patches using ClearColor ()