PyMaterialXGenShader.ShaderStage

class ShaderStage

Bases: pybind11_object

A shader stage, containing the state and resulting source code for the stage.

See:

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

Methods

__init__(self, arg0, arg1)

getConstantBlock(self)

getFunctionName(self)

getIncludes(self)

getInputBlock(self, arg0)

getInputBlocks(self)

getName(self)

getOutputBlock(self, arg0)

getOutputBlocks(self)

getSourceCode(self)

getSourceDependencies(self)

getUniformBlock(self, arg0)

getUniformBlocks(self)

Methods

__init__(self: ShaderStage, arg0: str, arg1: Syntax) None
getConstantBlock(self: ShaderStage) VariableBlock
getFunctionName(self: ShaderStage) str
getIncludes(self: ShaderStage) set[str]
getInputBlock(self: ShaderStage, arg0: str) VariableBlock
getInputBlocks(self: ShaderStage) dict[str, VariableBlock]
getName(self: ShaderStage) str
getOutputBlock(self: ShaderStage, arg0: str) VariableBlock
getOutputBlocks(self: ShaderStage) dict[str, VariableBlock]
getSourceCode(self: ShaderStage) str
getSourceDependencies(self: ShaderStage) set[str]
getUniformBlock(self: ShaderStage, arg0: str) VariableBlock
getUniformBlocks(self: ShaderStage) dict[str, VariableBlock]