SetBool
Sets the value of a boolean uniform.
読み終わるまでの所要時間 1 分最終更新 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.