CD3D11_RENDER_TARGET_VIEW_DESC::CD3D11_RENDER_TARGET_VIEW_DESC(ID3D11Texture3D*,DXGI_FORMAT,UINT,UINT,UINT) function (d3d11.h)

Instantiates a new instance of a CD3D11_RENDER_TARGET_VIEW_DESC structure that is initialized with 3D texture values.

Syntax

void CD3D11_RENDER_TARGET_VIEW_DESC(
  ID3D11Texture3D *pTex3D,
  DXGI_FORMAT     format,
  UINT            mipSlice,
  UINT            firstWSlice,
  UINT            wSize
);

Parameters

pTex3D

A pointer to a ID3D11Texture3D interface for a 3D texture.

format

A DXGI_FORMAT-typed value that specifies the viewing format.

mipSlice

The index of the mipmap level to use mip slice.

firstWSlice

First depth level to use.

wSize

Number of depth levels to use in the render-target view, starting from firstWSlice. A value of -1 indicates all of the slices along the w axis, starting from firstWSlice.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

CD3D11_RENDER_TARGET_VIEW_DESC