struct D3D11X_BUFFER_VIEW {
UINT Flags;
union {
UINT FirstElement;
UINT OffsetInBytes;
};
union {
UINT NumElements;
UINT StrideInBytes;
};
};
Flags
Flags for the buffer view, as a bitwise-OR’d combination of D3D11X_BUFFER_VIEW_FLAG enumeration constants.
FirstElement
Used on SRV and UAV.
OffsetInBytes
Used on VBV, IBV, RTV, and SOV.
NumElements
Used on SRV, UAV, and IBV
StrideInBytes
Used on VBV.
This structure is a member of the D3D11X_RESOURCE_VIEW_DESC structure.
Header: Declared in d3d11_x.h.