ShaderMaterial.setShaderParam

Changes the value set for this material of a uniform in the shader. Note: param must match the name of the uniform in the code exactly.

struct ShaderMaterial
@nogc nothrow
void
setShaderParam
(
VariantArg1
)
(
in String param
,
in VariantArg1 value
)

Meta