Version: 2021.3
언어: 한국어

설명

Default ComputeBuffer type (structured buffer).

In HLSL shaders, this maps to StructuredBuffer<T> or RWStructuredBuffer<T>.

The stride passed when constructing the buffer must match structure size, be a multiple of 4 and less than 2048.

See Microsoft's HLSL documentation on StructuredBuffer and RWStructuredBuffer.

See Also: ComputeBuffer, ComputeShader, Material.SetBuffer.