Version: 2017.3

Descripción

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.