展開 最小化

D3D10DDIARG_BUFFER_RENDERTARGETVIEW structure

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

Members

FirstElement
ElementOffset

[in] The offset (that is, the number of elements) between the beginning of the buffer and the first element that is to be used in the view, starting at 0.

NumElements
ElementWidth

[in] The number of elements in the view.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateRenderTargetViewSize
CreateRenderTargetView
D3D10DDIARG_CREATERENDERTARGETVIEW

 

 

Send comments about this topic to Microsoft

表示:
© 2014 Microsoft