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

매뉴얼로 전환

파라미터

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

설명

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