Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

D3D10_BUFFER_RTV structure (d3d10.h)

Specifies the elements from a buffer resource to use in a render-target view.

Syntax

typedef struct D3D10_BUFFER_RTV {
 union {
 UINT FirstElement;
 UINT ElementOffset;
 };
 union {
 UINT NumElements;
 UINT ElementWidth;
 };
} D3D10_BUFFER_RTV;

Members

FirstElement

Type: UINT

Number of bytes between the beginning of the buffer and the first element to access.

ElementOffset

Type: UINT

The offset of the first element in the view to access, relative to element 0.

NumElements

Type: UINT

The total number of elements in the view.

ElementWidth

Type: UINT

The width of each element (in bytes). This can be determined from the format stored in the render-target-view description.

Remarks

A render-target view is a member of a render-target-view description (see D3D10_RENDER_TARGET_VIEW_DESC). Create a render-target view by calling ID3D10Device::CreateRenderTargetView.

Requirements

Requirement Value
Header d3d10.h

See also

Resource Structures


Feedback

Was this page helpful?

Additional resources