Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Raw

Raw ComputeBuffer type (byte address buffer).
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Raw = 1

Remarks

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.