SetTextureFromGlobal
Binds a global texture to a RayTracingShader.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
SetTextureFromGlobal(int, int)
Binds a global texture to a RayTracingShader.
public void SetTextureFromGlobal(int nameID, int globalTextureNameID)
Parameters
Remarks
The global texture must be previously set using Shader.SetGlobalTexture.
SetTextureFromGlobal(string, string)
Binds a global texture to a RayTracingShader.
public void SetTextureFromGlobal(string name, string globalTextureName)
Parameters
Remarks
The global texture must be previously set using Shader.SetGlobalTexture.