Shader.setUniformArray

Specify values for float[] array uniform.

Parameters

name const(char)[]

Name of the uniform variable in GLSL

scalarArray const(float)[]

array of float values

Meta