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

> Décrit le format, la largeur, la hauteur, la profondeur et le pas de ligne de la sous-ressource dans la ressource parente.

Décrit le format, la largeur, la hauteur, la profondeur et le pas de ligne de la sous-ressource dans la ressource parente.

## Syntaxe

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

### Membres

*Format*\
Type : DXGI\_FORMAT

Valeur de type [DXGI\_FORMAT](https://learn.microsoft.com/en-us/windows/desktop/api/dxgiformat/ne-dxgiformat-dxgi_format) qui spécifie le format d'affichage.

*Width*\
Type : UINT

La largeur de la sous-ressource.

*Height*\
Type : UINT

La hauteur de la sous-ressource.

*Depth*\
Type : UINT

La profondeur de la sous-ressource.

*RowPitch*\
Type : UINT

Le pas de ligne, ou largeur, ou taille physique, en octets, des données de sous-ressource.
Il doit s'agir d'un multiple de D3D12\_TEXTURE\_DATA\_PITCH\_ALIGNMENT (256), et la valeur doit être supérieure ou égale à la taille des données d'une ligne.

## Remarques

Utilisez cette structure dans la structure [D3D12\_PLACED\_SUBRESOURCE\_FOOTPRINT](/fr-CA/reference/graphics/d3d12/structs/d3d12_placed_subresource_footprint_public).

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

## Configuration requise

**En-tête :** d3d12\_xs.h ou d3d12\_x.h\
**Bibliothèque :** d3d12\_xs.lib ou d3d12\_x.lib\
**Plateformes prises en charge :** consoles XBOX Series et famille XBOX One

## Voir aussi

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

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


## Related topics

- [D3D12_PLACED_SUBRESOURCE_FOOTPRINT](/fr-CA/reference/graphics/d3d12/structs/d3d12_placed_subresource_footprint_public.md)
- [GetCopyableFootprints](/fr-CA/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getcopyablefootprints_public.md)
- [D3D12_TEXTURE_COPY_TYPE](/fr-CA/reference/graphics/d3d12/enums/d3d12_texture_copy_type_public.md)
- [D3D12_TEXTURE_COPY_LOCATION](/fr-CA/reference/graphics/d3d12/structs/d3d12_texture_copy_location_public.md)
- [D3D12_SUBRESOURCE_DATA](/fr-CA/reference/graphics/d3d12/structs/d3d12_subresource_data_public.md)
