Set Texture Channel

Overrides the value of texture channels.

Set Texture Channel in Lightact's Layer Layouts visual scripting system.
Screenshot of Set Texture Channel node.

Inputs

TypeNameDescription
TextureGl texture element
InputA gl::Texture2dRef data structure
BoolTruth value
RA boolean value
IntStores whole number value
New R valueAn integer value
BoolTruth value
GA boolean value
IntStores whole number value
New G valueAn integer value
BoolTruth value
BA boolean value
IntStores whole number value
New B valueAn integer value
BoolTruth value
AA boolean value
IntStores whole number value
New A valueAn integer value

Outputs

TypeNameDescription
TextureGl texture element
OutputReturns a gl::Texture2dRef data structure