Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Raw

GraphicsBuffer can be used as a raw byte-address buffer.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

In HLSL shaders, this maps to
ByteAddressBuffer
or
RWByteAddressBuffer
. The underlying DirectX 11 format for shader access is typeless R32.
See Microsoft's HLSL documentation on ByteAddressBuffer and RWByteAddressBuffer.