Version: 2023.2
언어: 한국어

RayTracingShader.SetTextureFromGlobal

매뉴얼로 전환
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.