Version: 2020.2
言語: 日本語

説明

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.