PyMaterialXGenShader.VariableBlock

class VariableBlock

Bases: pybind11_object

A block of variables in a shader stage.

See:

https://materialx.org/docs/api/class_variable_block.html

Methods

__init__(self, arg0, arg1)

empty(self)

find(*args, **kwargs)

Overloaded function.

getInstance(self)

getName(self)

size(self)

Methods

__init__(self: VariableBlock, arg0: str, arg1: str) None
empty(self: VariableBlock) bool
find(*args, **kwargs)

Overloaded function.

  1. find(self: PyMaterialXGenShader.VariableBlock, arg0: str) -> PyMaterialXGenShader.ShaderPort

  2. find(self: PyMaterialXGenShader.VariableBlock, arg0: Callable[[PyMaterialXGenShader.ShaderPort], bool]) -> PyMaterialXGenShader.ShaderPort

getInstance(self: VariableBlock) str
getName(self: VariableBlock) str
size(self: VariableBlock) int