D3D12_BOX structure (d3d12.h)
Describes a 3D box.
Syntax
typedef struct D3D12_BOX {
UINT left;
UINT top;
UINT front;
UINT right;
UINT bottom;
UINT back;
} D3D12_BOX;
Members
left
The x position of the left hand side of the box.
top
The y position of the top of the box.
front
The z position of the front of the box.
right
The x position of the right hand side of the box, plus 1. This means that right - left
equals the width of the box.
bottom
The y position of the bottom of the box, plus 1. This means that bottom - top
equals the height of the box.
back
The z position of the back of the box, plus 1. This means that back - front
equals the depth of the box.
Remarks
This structure is used by the methods WriteToSubresource, ReadFromSubresource and CopyTextureRegion.
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for