Version: 2023.1
言語: 日本語
public void SetTextureFromGlobal (int nameID, int globalTextureNameID);
public void SetTextureFromGlobal (string name, string globalTextureName);

パラメーター

nameID The ID of the texture as given by Shader.PropertyToID.
name The name of the texture to bind.
globalTextureName The name of the global resource to bind to the RayTracingShader.
globalTextureNameID The ID of the global resource as given by Shader.PropertyToID.

説明

Binds a global texture to a RayTracingShader.

The global texture must be previously set using Shader.SetGlobalTexture.