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

> Describe los parámetros necesarios para asignar recursos, incluido el desplazamiento.

Describe los parámetros necesarios para asignar recursos, incluido el desplazamiento.

## Sintaxis

```cpp theme={null}
typedef struct D3D12_RESOURCE_ALLOCATION_INFO1
{
    UINT64 Offset;
    UINT64 Alignment;
    UINT64 SizeInBytes;
} D3D12_RESOURCE_ALLOCATION_INFO1
```

### Miembros

*Offset*\
Tipo: UINT64

El desplazamiento, en bytes, del recurso.

*Alignment*\
Tipo: UINT64

El valor de alineación del recurso; una alineación de 4 KB (4096), 64 KB (65536) o 4 MB (4194304).

*SizeInBytes*\
Tipo: UINT64

El tamaño, en bytes, del recurso.

## Comentarios

Esta estructura la usa el método [ID3D12Device::GetResourceAllocationInfo1](/reference/graphics/d3d12/interfaces/id3d12device4/methods/id3d12device4_getresourceallocationinfo1_public).

## 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/win32/direct3d12/direct3d-12-structures)


## Related topics

- [GetResourceAllocationInfo1 (consolas XBOX Series)](/es/reference/graphics/d3d12/interfaces/id3d12device4/methods/id3d12device4_getresourceallocationinfo1_public.md)
- [D3D12_RESOURCE_ALLOCATION_INFO](/es/reference/graphics/d3d12/structs/d3d12_resource_allocation_info_public.md)
- [D3D12_DRED_ALLOCATION_TYPE](/es/reference/graphics/d3d12/enums/d3d12_dred_allocation_type_public.md)
- [D3D12_DRED_ALLOCATION_NODE](/es/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public.md)
- [D3D12_RESOURCE_BARRIER](/es/reference/graphics/d3d12/structs/d3d12_resource_barrier_public.md)
