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

> Describe el formato, el ancho, el alto, la profundidad y el intervalo de fila del subrecurso dentro del recurso primario.

Describe el formato, el ancho, el alto, la profundidad y el intervalo de fila del subrecurso dentro del recurso primario.

## Sintaxis

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

### Miembros

*Format*\
Tipo: DXGI\_FORMAT

Un valor de tipo [DXGI\_FORMAT](https://learn.microsoft.com/en-us/windows/desktop/api/dxgiformat/ne-dxgiformat-dxgi_format) que especifica el formato de visualización.

*Width*\
Tipo: UINT

El ancho del subrecurso.

*Height*\
Tipo: UINT

El alto del subrecurso.

*Depth*\
Tipo: UINT

La profundidad del subrecurso.

*RowPitch*\
Tipo: UINT

El intervalo de fila, o ancho, o tamaño físico, en bytes, de los datos del subrecurso.
Debe ser un múltiplo de D3D12\_TEXTURE\_DATA\_PITCH\_ALIGNMENT (256) y debe ser mayor o igual que el tamaño de los datos dentro de una fila.

## Comentarios

Use esta estructura en la estructura [D3D12\_PLACED\_SUBRESOURCE\_FOOTPRINT](/reference/graphics/d3d12/structs/d3d12_placed_subresource_footprint_public).

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

## Requisitos

**Encabezado:** d3d12\_xs.h o d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib o d3d12\_x.lib\
**Plataformas compatibles**: consolas XBOX Series y familia XBOX One

## Consulte también

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

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


## Related topics

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