Version: 2023.1
public void SetInts (string name, params int[] values);
public void SetInts (int nameID, params int[] values);

参数

name 设置的属性的名称。
nameID 如 Shader.PropertyToID 给定的属性的 ID。
values The int array to set.

描述

Sets the values for a int array uniform.