> ## 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_SUBRESOURCE_FOOTPRINT

> Describes the format, width, height, depth, and row-pitch of the subresource into the parent resource.

Describes the format, width, height, depth, and row-pitch of the subresource into the parent resource.

## Syntax

```cpp theme={null}
typedef struct D3D12_SUBRESOURCE_FOOTPRINT
{
    DXGI_FORMAT Format;
    UINT Width;
    UINT Height;
    UINT Depth;
    UINT RowPitch;
} D3D12_SUBRESOURCE_FOOTPRINT
```

### Members

*Format*\
Type: DXGI\_FORMAT

A [DXGI\_FORMAT](https://learn.microsoft.com/en-us/windows/desktop/api/dxgiformat/ne-dxgiformat-dxgi_format)-typed value that  specifies the viewing format.

*Width*\
Type: UINT

The width of the subresource.

*Height*\
Type: UINT

The height of the subresource.

*Depth*\
Type: UINT

The depth of the subresource.

*RowPitch*\
Type: UINT

The row pitch, or width, or physical size, in bytes, of the subresource data.
This must be a multiple of D3D12\_TEXTURE\_DATA\_PITCH\_ALIGNMENT (256), and must be greater than or equal to the size of the data within a row.

## Remarks

Use this structure in the [D3D12\_PLACED\_SUBRESOURCE\_FOOTPRINT](/reference/graphics/d3d12/structs/d3d12_placed_subresource_footprint_public) structure.

The helper structure is [CD3DX12\_SUBRESOURCE\_FOOTPRINT](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-subresource-footprint).

## 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

[CD3DX12\_SUBRESOURCE\_FOOTPRINT](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-subresource-footprint)

[Core Structures](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [D3D12_PLACED_SUBRESOURCE_FOOTPRINT](/reference/graphics/d3d12/structs/d3d12_placed_subresource_footprint_public.md)
- [GetCopyableFootprints](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getcopyablefootprints_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)
- [D3D12_SUBRESOURCE_INFO](/reference/graphics/d3d12/structs/d3d12_subresource_info_public.md)
