ShaderNodeExt

class guerilla.ShaderNodeExt

Bases: guerilla.ShaderNode

A ShaderNode that references an externally declared shader function

ShaderFn

The external shader function This plug contains the name of the external shader function to use by this node

Use the setfunction method to change this plug.

type:str
setfunction(func)

Setup the node to use the given function. All input and output plugs are reset.

Parameters:func (str) – The function name