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

> Describes parameters needed to allocate resources, including offset.

Describes parameters needed to allocate resources, including offset.

## Syntax

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

### Members

*Offset*\
Type: UINT64

The offset, in bytes, of the resource.

*Alignment*\
Type: UINT64

The alignment value for the resource; one of 4KB (4096), 64KB (65536), or 4MB (4194304) alignment.

*SizeInBytes*\
Type: UINT64

The size, in bytes, of the resource.

## Remarks

This structure is used by the [ID3D12Device::GetResourceAllocationInfo1](/reference/graphics/d3d12/interfaces/id3d12device4/methods/id3d12device4_getresourceallocationinfo1_public) method.

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

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


## Related topics

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