D3D11DDIARG_BUFFER_RENDERTARGETVIEW structure (d3d10umddi.h)

The D3D11DDIARG_BUFFER_RENDERTARGETVIEW structure describes a buffer that is used to create a render target view in a call to the CreateRenderTargetView function.

Syntax

typedef struct D3D11DDIARG_BUFFER_RENDERTARGETVIEW {
  union {
    [in] UINT FirstElement;
    [in] UINT ElementOffset;
  };
  union {
    [in] UINT NumElements;
    [in] UINT ElementWidth;
  };
} D3D11DDIARG_BUFFER_RENDERTARGETVIEW;

Members

[in] FirstElement

The offset, in bytes, to the first element in the buffer.

[in] ElementOffset

The offset, in bytes, to the first element in the buffer.

[in] NumElements

The number of elements in the buffer.

[in] ElementWidth

The width, in elements, in the buffer.

Requirements

Requirement Value
Minimum supported client D3D11DDIARG_BUFFER_RENDERTARGETVIEW is supported beginning with the Windows 7 operating system.
Header d3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateRenderTargetViewSize

CreateRenderTargetView

D3D10DDIARG_CREATERENDERTARGETVIEW