D3D11DDIARG_BUFFER_RENDERTARGETVIEW structure

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 {
    UINT FirstElement;
    UINT ElementOffset;
  };
  union {
    UINT NumElements;
    UINT ElementWidth;
  };
} D3D11DDIARG_BUFFER_RENDERTARGETVIEW;

Members

FirstElement

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

ElementOffset

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

NumElements

[in] The number of elements in the buffer.

ElementWidth

[in] The width, in elements, in the buffer.

Requirements

Version

D3D11DDIARG_BUFFER_RENDERTARGETVIEW is supported beginning with the Windows 7 operating system.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateRenderTargetViewSize
CreateRenderTargetView
D3D10DDIARG_CREATERENDERTARGETVIEW

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft