PyMaterialXGenShader.ShaderInterfaceType¶
- class ShaderInterfaceType¶
Bases:
pybind11_objectType of shader interface to be generated
Members:
SHADER_INTERFACE_COMPLETE : Create a complete interface with uniforms for all editable inputs on all nodes used by the shader. This interface makes the shader fully editable by value without requiring any rebuilds. This is the default interface type.
SHADER_INTERFACE_REDUCED : Create a reduced interface with uniforms only for the inputs that has been declared in the shaders nodedef interface. If values on other inputs are changed the shader needs to be rebuilt.
Methods
__init__(self, value)Properties¶
- SHADER_INTERFACE_COMPLETE = <ShaderInterfaceType.SHADER_INTERFACE_COMPLETE: 0>¶
- SHADER_INTERFACE_REDUCED = <ShaderInterfaceType.SHADER_INTERFACE_REDUCED: 1>¶
- name¶
- value¶
Methods¶
- __init__(self: ShaderInterfaceType, value: int) None¶