기술 자료

Unity Engine

Unity Engine

Raw

GraphicsBuffer can be used as a raw byte-address buffer.
읽는 시간 1분최근 업데이트: 한 달 전

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.