> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_PLACED_SUBRESOURCE_FOOTPRINT

> Describes the footprint of a placed subresource, including the offset and the D3D12_SUBRESOURCE_FOOTPRINT.

Describes the footprint of a placed subresource, including the offset and the D3D12\_SUBRESOURCE\_FOOTPRINT.

## Syntax

```cpp theme={null}
typedef struct D3D12_PLACED_SUBRESOURCE_FOOTPRINT
{
    UINT64 Offset;
    D3D12_SUBRESOURCE_FOOTPRINT Footprint;
} D3D12_PLACED_SUBRESOURCE_FOOTPRINT
```

### 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](/reference/graphics/d3d12/structs/d3d12_subresource_footprint_public) structure.

## Remarks

This structure is used in the [D3D12\_TEXTURE\_COPY\_LOCATION](/reference/graphics/d3d12/structs/d3d12_texture_copy_location_public) structure,
and by [ID3D12Device::GetCopyableFootprints](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getcopyablefootprints_public).

All the data referenced by the footprint structure must fit within the bounds of the parent resource. If you use [GetCopyableFootprints](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getcopyablefootprints_public) to fill out the structure, the <i>pTotalBytes</i> 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](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/helper-structures-and-functions-for-d3d12)).

When copying textures, use this structure along with [D3D12\_TEXTURE\_COPY\_LOCATION](/reference/graphics/d3d12/structs/d3d12_texture_copy_location_public).

## 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](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [D3D12_SUBRESOURCE_FOOTPRINT](/reference/graphics/d3d12/structs/d3d12_subresource_footprint_public.md)
- [D3D12_TEXTURE_COPY_TYPE](/reference/graphics/d3d12/enums/d3d12_texture_copy_type_public.md)
- [D3D12_TEXTURE_COPY_LOCATION](/reference/graphics/d3d12/structs/d3d12_texture_copy_location_public.md)
- [GetCopyableFootprints](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getcopyablefootprints_public.md)
- [D3D12_SUBRESOURCE_INFO](/reference/graphics/d3d12/structs/d3d12_subresource_info_public.md)
