Vizard 7 » Command Index » Vizard objects » shader » <shader>.detach
7.7

<shader>.detach

Detach a uniform from the shader

<shader>.detach(  
uniform  
)  
uniform
A uniform object

Remarks

This command will detach a uniform from the shader. When a shader is applied to a node, all the attached uniforms will also be applied.

Detaching a uniform after a shader has been applied to a node will NOT affect the node.

Return Value

None