D3D11X_TEXCUBE_VIEW Structure

A view for a texture cube (D3D11_TEXCUBE_SRV).

Syntax

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

Members

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

MipLevels
The maximum number of mipmap levels for the view of the texture. See the remarks in D3D11_TEX1D_SRV. 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 texture cube; see D3D11_TEXCUBE_SRV.

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

typedef D3D11X_TEX_VIEW D3D11X_TEXCUBE_VIEW;  

Requirements

Header: Declared in d3d11_x.h.