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 | 如 Shader.PropertyToID 给定的全局资源的 ID。 |
Binds a global texture to a RayTracingShader.
The global texture must be previously set using Shader.SetGlobalTexture.