CD3D11_RENDER_TARGET_VIEW_DESC1 structure (d3d11_3.h)

Describes the subresources from a resource that are accessible using a render-target view.

Syntax

struct CD3D11_RENDER_TARGET_VIEW_DESC1 : D3D11_RENDER_TARGET_VIEW_DESC1 {
  void CD3D11_RENDER_TARGET_VIEW_DESC1();
  void CD3D11_RENDER_TARGET_VIEW_DESC1(
    const D3D11_RENDER_TARGET_VIEW_DESC1 & o
  );
  void CD3D11_RENDER_TARGET_VIEW_DESC1(
    D3D11_RTV_DIMENSION viewDimension,
    DXGI_FORMAT         format,
    UINT                mipSlice,
    UINT                firstArraySlice,
    UINT                arraySize,
    UINT                planeSlice
  );
  void CD3D11_RENDER_TARGET_VIEW_DESC1(
    ID3D11Buffer *unnamedParam1,
    DXGI_FORMAT  format,
    UINT         firstElement,
    UINT         numElements
  );
  void CD3D11_RENDER_TARGET_VIEW_DESC1(
    ID3D11Texture1D     *pTex1D,
    D3D11_RTV_DIMENSION viewDimension,
    DXGI_FORMAT         format,
    UINT                mipSlice,
    UINT                firstArraySlice,
    UINT                arraySize
  );
  void CD3D11_RENDER_TARGET_VIEW_DESC1(
    ID3D11Texture2D     *pTex2D,
    D3D11_RTV_DIMENSION viewDimension,
    DXGI_FORMAT         format,
    UINT                mipSlice,
    UINT                firstArraySlice,
    UINT                arraySize,
    UINT                planeSlice
  );
  void CD3D11_RENDER_TARGET_VIEW_DESC1(
    ID3D11Texture3D *pTex3D,
    DXGI_FORMAT     format,
    UINT            mipSlice,
    UINT            firstWSlice,
    UINT            wSize
  );
  void ~CD3D11_RENDER_TARGET_VIEW_DESC1();
};

Inheritance

The CD3D11_RENDER_TARGET_VIEW_DESC1 structure implements D3D11_RENDER_TARGET_VIEW_DESC1.

Members

void CD3D11_RENDER_TARGET_VIEW_DESC1()

TBD

void CD3D11_RENDER_TARGET_VIEW_DESC1( const D3D11_RENDER_TARGET_VIEW_DESC1 & o)

void CD3D11_RENDER_TARGET_VIEW_DESC1( D3D11_RTV_DIMENSION viewDimension, DXGI_FORMAT format, UINT mipSlice, UINT firstArraySlice, UINT arraySize, UINT planeSlice)

void CD3D11_RENDER_TARGET_VIEW_DESC1( ID3D11Buffer *unnamedParam1, DXGI_FORMAT format, UINT firstElement, UINT numElements)

void CD3D11_RENDER_TARGET_VIEW_DESC1( ID3D11Texture1D *pTex1D, D3D11_RTV_DIMENSION viewDimension, DXGI_FORMAT format, UINT mipSlice, UINT firstArraySlice, UINT arraySize)

void CD3D11_RENDER_TARGET_VIEW_DESC1( ID3D11Texture2D *pTex2D, D3D11_RTV_DIMENSION viewDimension, DXGI_FORMAT format, UINT mipSlice, UINT firstArraySlice, UINT arraySize, UINT planeSlice)

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

void ~CD3D11_RENDER_TARGET_VIEW_DESC1()

TBD

Remarks

A render-target-view description is passed into ID3D11Device3::CreateRenderTargetView1 to create a render target.

A render-target-view can't use the following formats:

  • Any typeless format.
  • DXGI_FORMAT_R32G32B32 if the view will be used to bind a buffer (vertex, index, constant, or stream-output).
If the format is set to DXGI_FORMAT_UNKNOWN, then the format of the resource that the view binds to the pipeline will be used.

Requirements

Requirement Value
Header d3d11_3.h

See also

Resource Structures