CD3D11_RENDER_TARGET_VIEW_DESC1结构 (d3d11_3.h)

描述可使用呈现目标视图访问的资源中的子资源。

语法

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();
};

继承

CD3D11_RENDER_TARGET_VIEW_DESC1 结构实现D3D11_RENDER_TARGET_VIEW_DESC1。

成员

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

注解

呈现器目标视图说明将传递到 ID3D11Device3::CreateRenderTargetView1 以创建呈现目标。

render-target-view 不能使用以下格式:

  • 任何无类型格式。
  • DXGI_FORMAT_R32G32B32视图是否将用于绑定缓冲区 (顶点、索引、常量或流输出) 。
如果格式设置为 DXGI_FORMAT_UNKNOWN,则将使用视图绑定到管道的资源的格式。

要求

要求
Header d3d11_3.h

另请参阅

资源结构