D3D11X_BUFFER_VIEW Structure

Describes a buffer view.

Syntax

struct D3D11X_BUFFER_VIEW {
    UINT Flags;
    union {
        UINT FirstElement;
        UINT OffsetInBytes;
    };
    union {
        UINT NumElements;
        UINT StrideInBytes;
    };
};  

Members

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.

Remarks

This structure is a member of the D3D11X_RESOURCE_VIEW_DESC structure.

Requirements

Header: Declared in d3d11_x.h.