AttributeShader¶
-
class
guerilla.
AttributeShader
¶ Bases:
guerilla.Node
An attribute subshader node
This node is used to assign a utility subshader such as a texture lookupas an arbitrary object attribute or shader parameter.
-
overrideinheritedattr
(attrname, value)¶ Overrides an attribute by its name, if the plug doesn’t exist, it is created.
If the attribute name is not known as a valid shader parameter, the attribute is not created
Parameters: Returns: the attribute plug
Return type:
-