Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ComputeBufferType.Raw

Description

Raw ComputeBuffer type (byte address buffer).

In HLSL shaders, this maps to ByteAddressBuffer or RWByteAddressBuffer. Underlying DX11 format for shader access is typeless R32.

See Microsoft's HLSL documentation on ByteAddressBuffer and RWByteAddressBuffer.

See Also: ComputeBuffer, ComputeShader, Material.SetBuffer.

Did you find this page useful? Please give it a rating: