D3D11X_TEX1D_VIEW Structure

A view for a 1D texture (D3D11_TEX1D_SRV).

Syntax

typedef struct D3D11X_TEX1D_VIEW {
    UINT MipBase;
    UINT MipLevels;
    D3D11X_TEX_ACCESS_CONTROL Control;
} D3D11X_TEX1D_VIEW;  

Members

MipBase
Mip base. This is the MostDetailedMip, on SRV. This is the MipSlice, on UAV, RTV, and DSV.

MipLevels
MIP levels. Ignored on UAV, RTV, and DSV.

Control
The control, as a D3D11X_TEX_ACCESS_CONTROL structure.

Remarks

This structure is a possible member of the D3D11X_RESOURCE_VIEW_DESC structure.

This structure is a view for a 1D texture; see D3D11_TEX1D_SRV.

This structure is actually declared using the D3D11X_TEX_VIEW structure, as follows:

typedef D3D11X_TEX_VIEW D3D11X_TEX1D_VIEW;  

Requirements

Header: Declared in d3d11_x.h.