CommandBuffer.SetRayTracingBufferParam(RayTracingShader,int,string,ComputeBuffer)

Cambiar al Manual

Parámetros

nameName of the buffer variable in shader code.
nameIDProperty name ID. Use Shader.PropertyToID to get this ID.
bufferBuffer to set.

Descripción

Adds a command to set SetRayTracingBufferParam input or output buffer parameter on a RayTracingShader.