Bagikan melalui


struktur CD3D11_RENDER_TARGET_VIEW_DESC1 (d3d11_3.h)

Menjelaskan subsumber daya dari sumber daya yang dapat diakses menggunakan tampilan target render.

Sintaks

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

Warisan

Struktur CD3D11_RENDER_TARGET_VIEW_DESC1 mengimplementasikan D3D11_RENDER_TARGET_VIEW_DESC1.

Anggota

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

Keterangan

Deskripsi tampilan target render diteruskan ke ID3D11Device3::CreateRenderTargetView1 untuk membuat target render.

Tampilan target render tidak dapat menggunakan format berikut:

  • Format tanpa jenis apa pun.
  • DXGI_FORMAT_R32G32B32 apakah tampilan akan digunakan untuk mengikat buffer (vertex, indeks, konstanta, atau stream-output).
Jika format diatur ke DXGI_FORMAT_UNKNOWN, maka format sumber daya yang diikat tampilan ke alur akan digunakan.

Persyaratan

Persyaratan Nilai
Header d3d11_3.h

Lihat juga

Struktur Sumber Daya