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

> Describe un formato de datos DXGI y un recuento de planos.

Describe un formato de datos DXGI y un recuento de planos.

## Sintaxis

```cpp theme={null}
typedef struct D3D12_FEATURE_DATA_FORMAT_INFO
{
    DXGI_FORMAT Format;
    UINT8 PlaneCount;
} D3D12_FEATURE_DATA_FORMAT_INFO
```

### 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) para el formato sobre el que se devolverá información.

*PlaneCount*\
Tipo: UINT8

El número de planos sobre los que se proporcionará información.

## Comentarios

Consulte [D3D12\_FEATURE](/reference/graphics/d3d12/enums/d3d12_feature_public).

#### Ejemplos

```cpp theme={null}
inline UINT8 D3D12GetFormatPlaneCount(
_In_ ID3D12Device* pDevice,
DXGI_FORMAT Format
)
{
D3D12_FEATURE_DATA_FORMAT_INFO formatInfo{ Format };
if (FAILED(pDevice->CheckFeatureSupport(D3D12_FEATURE_FORMAT_INFO, &formatInfo, sizeof(formatInfo))))
{
return 0;
}
return formatInfo.PlaneCount;
}

```

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

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

[D3D12\_FEATURE](/reference/graphics/d3d12/enums/d3d12_feature_public)


## Related topics

- [D3D12_FEATURE](/es/reference/graphics/d3d12/enums/d3d12_feature_public.md)
- [D3D12_FEATURE_DATA_FORMAT_SUPPORT](/es/reference/graphics/d3d12/structs/d3d12_feature_data_format_support_public.md)
- [D3D12_FORMAT_SUPPORT1](/es/reference/graphics/d3d12/enums/d3d12_format_support1_public.md)
- [D3D12_FORMAT_SUPPORT2](/es/reference/graphics/d3d12/enums/d3d12_format_support2_public.md)
- [D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS](/es/reference/graphics/d3d12/structs/d3d12_feature_data_multisample_quality_levels_public.md)
