D3D10DDIARG_CREATERENDERTARGETVIEW - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

typedef struct D3D10DDIARG_CREATERENDERTARGETVIEW {
  [in] D3D10DDI_HRESOURCE    hDrvResource;
  [in] DXGI_FORMAT           Format;
  [in] D3D10DDIRESOURCE_TYPE ResourceDimension;
  union {
    [in] D3D10DDIARG_BUFFER_RENDERTARGETVIEW  Buffer;
    [in] D3D10DDIARG_TEX1D_RENDERTARGETVIEW   Tex1D;
    [in] D3D10DDIARG_TEX2D_RENDERTARGETVIEW   Tex2D;
    [in] D3D10DDIARG_TEX3D_RENDERTARGETVIEW   Tex3D;
    [in] D3D10DDIARG_TEXCUBE_RENDERTARGETVIEW TexCube;
  };
} D3D10DDIARG_CREATERENDERTARGETVIEW;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d10umddi-d3d10ddiarg_createrendertargetview)

D3D10DDIARG_CREATERENDERTARGETVIEW structure

Description

The D3D10DDIARG_CREATERENDERTARGETVIEW structure describes the render target view to create.

Members

hDrvResource [in]

A handle to the render target.

Format [in]

A DXGI_FORMAT-typed value that indicates the pixel format of the render target.

ResourceDimension [in]

A D3D10DDIRESOURCE_TYPE-typed value that indicates the resource type and dimensionality of the render target.

Buffer [in]

If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_BUFFER, a member in the union that is contained in D3D10DDIARG_CREATERENDERTARGETVIEW that can hold a D3D10DDIARG_BUFFER_RENDERTARGETVIEW structure for a buffer.

Tex1D [in]

If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_TEXTURE1D, a member in the union that is contained in D3D10DDIARG_CREATERENDERTARGETVIEW that can hold a D3D10DDIARG_TEX1D_RENDERTARGETVIEW structure for a one-dimensional texture.

Tex2D [in]

If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_TEXTURE2D, a member in the union that is contained in D3D10DDIARG_CREATERENDERTARGETVIEW that can hold a D3D10DDIARG_TEX2D_RENDERTARGETVIEW structure for a two-dimensional texture.

Tex3D [in]

If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_TEXTURE3D, a member in the union that is contained in D3D10DDIARG_CREATERENDERTARGETVIEW that can hold a D3D10DDIARG_TEX3D_RENDERTARGETVIEW structure for a three-dimensional texture.

TexCube [in]

If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_TEXTURECUBE, a member in the union that is contained in D3D10DDIARG_CREATERENDERTARGETVIEW that can hold a D3D10DDIARG_TEXCUBE_RENDERTARGETVIEW structure for a cube texture.

See also

CalcPrivateRenderTargetViewSize

CreateRenderTargetView

D3D10DDIARG_BUFFER_RENDERTARGETVIEW

D3D10DDIARG_TEX1D_RENDERTARGETVIEW

D3D10DDIARG_TEX2D_RENDERTARGETVIEW

D3D10DDIARG_TEX3D_RENDERTARGETVIEW

D3D10DDIARG_TEXCUBE_RENDERTARGETVIEW

D3D10DDIRESOURCE_TYPE