SetTextShaderConstantArrayByName

Description

Sets a shader constant array index by name, the constant must be marked as "uniform" in the shader source. Array indices start at 0, if the array index is out of bounds then it will be ignored and no changes will be made. This will affect only the specified text this shader. All shader values have 1 to 4 components, this command accepts 4 values and discards any that are not used by the named variable.

Definition

SetTextShaderConstantArrayByName(UINT iTextIndex, szName, arrayIndex, value1, value2, value3, value4)

Parameters