D3DDDIBOX structure (d3dumddi.h)

Describes the bounds of a volume texture.

Syntax

typedef struct _D3DDDIBOX {
  [in] UINT Left;
  [in] UINT Top;
  [in] UINT Right;
  [in] UINT Bottom;
       UINT Front;
  [in] UINT Back;
} D3DDDIBOX;

Members

[in] Left

The position of the left side of the box on the x-axis.

[in] Top

The position of the top of the box on the y-axis.

[in] Right

The position of the right side of the box on the x-axis.

[in] Bottom

The position of the bottom of the box on the y-axis.

Front

[in] The position of the front of the box on the z-axis.

[in] Back

The position of the back of the box on the z-axis.

Remarks

The height of the volume equals the value in the Bottom member minus the value in the Top member (that is, height = bottom – top).

The width of the volume equals the value in the Right member minus the value in the Left member (that is, width = right – left).

The depth of the volume equals the value in the Back member minus the value in the Front member (that is, depth = back – front).

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dumddi.h (include D3dumddi.h)