ShaderVariable constructor

init

Constructor of ShaderVariable

def __init__(self, name):
    ...
ParameterTypeDescription
namestr

init

Constructor of ShaderVariable

def __init__(self, name, shader_stage):
    ...
ParameterTypeDescription
namestr
shader_stageShaderStageWhich shader stage will this variable be used

See Also