RenderGraphNodeMaterial

class guerilla.RenderGraphNodeMaterial

Bases: guerilla.RenderGraphNodeAttributes

Adds the surface shader or the displacement shader or both in the input attributes.

overrideinheritedattr(plugname, value)

Overrides an attribute by its name, if the plug doesn’t exist, it is created.

Parameters:
  • plugname (str) – The attribute name to override
  • value (any) – The attribute value to override
Returns:

the attribute plug

Return type:

Plug