SetBool
Sets the value of a boolean uniform.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
SetBool(string, bool)
Sets the value of a boolean uniform.
public void SetBool(string name, bool val)
Parameters
Remarks
The value specified as argument can be used only by the shaders defined inside the .raytrace file associated with the RayTracingShader.
SetBool(int, bool)
Sets the value of a boolean uniform.
public void SetBool(int nameID, bool val)
Parameters
Remarks
The value specified as argument can be used only by the shaders defined inside the .raytrace file associated with the RayTracingShader.