Version: 2020.2
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingShader.SetInts

切换到手册
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.