public void SetUniformValue(int index, int offset, int[] value) { int errorCode = PsmShaderProgram.SetUniformValue2(this.handle, index, value, ShaderUniformType.Int, offset, 0, -1); if (errorCode != 0) { Error.ThrowNativeException(errorCode); } }
public void SetUniformValue(int index, int[] value, int to, int from, int count) { if (count < 0) { count = int.MaxValue; } int errorCode = PsmShaderProgram.SetUniformValue2(this.handle, index, value, ShaderUniformType.Int, to, from, count); if (errorCode != 0) { Error.ThrowNativeException(errorCode); } }