D3D11_BUFFER_UAV structure (d3d11.h)

Describes the elements in a buffer to use in a unordered-access view.

Syntax

typedef struct D3D11_BUFFER_UAV {
  UINT FirstElement;
  UINT NumElements;
  UINT Flags;
} D3D11_BUFFER_UAV;

Members

FirstElement

Type: UINT

The zero-based index of the first element to be accessed.

NumElements

Type: UINT

The number of elements in the resource. For structured buffers, this is the number of structures in the buffer.

Flags

Type: UINT

View options for the resource (see D3D11_BUFFER_UAV_FLAG).

Remarks

This structure is used by a D3D11_UNORDERED_ACCESS_VIEW_DESC.

Requirements

Requirement Value
Header d3d11.h

See also

Resource Structures