CommandBuffer.SetGlobalConstantBuffer
Parameters
| buffer | The buffer to bind. | |
| offset | Offset from the start of the ComputeBuffer in bytes. | |
| size | Size in bytes of the area to bind. | |
| nameID | Name of the constant buffer (use Shader.PropertyToID to generate). |
Description 描述
Add a command to bind a global constant buffer.
See Shader.SetGlobalConstantBuffer for usage.