Skip to main content
Describes the footprint of a placed subresource, including the offset and the D3D12_SUBRESOURCE_FOOTPRINT.

Syntax

Members

Offset
Type: UINT64
The offset of the subresource within the parent resource, in bytes. The offset between the start of the parent resource and this subresource. Footprint
Type: D3D12_SUBRESOURCE_FOOTPRINT
The format, width, height, depth, and row-pitch of the subresource, as a D3D12_SUBRESOURCE_FOOTPRINT structure.

Remarks

This structure is used in the D3D12_TEXTURE_COPY_LOCATION structure, and by ID3D12Device::GetCopyableFootprints. All the data referenced by the footprint structure must fit within the bounds of the parent resource. If you use GetCopyableFootprints to fill out the structure, the pTotalBytes output field indicates the required size of the resource. This structure is also used a number of helper functions (refer to Helper Structures and Functions for D3D12). When copying textures, use this structure along with D3D12_TEXTURE_COPY_LOCATION.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

Core Structures
Last modified on August 20, 2026