> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_RESOURCE_ALLOCATION_INFO

> 리소스를 할당하는 데 필요한 매개 변수를 설명합니다.

리소스를 할당하는 데 필요한 매개 변수를 설명합니다.

## 구문

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

### 멤버

*SizeInBytes*\
형식: UINT64

리소스의 크기(바이트)입니다.

*Alignment*\
형식: UINT64

리소스에 대한 정렬 값입니다. 4KB(4096), 64KB(65536) 또는 4MB(4194304) 정렬 중 하나입니다.

## 설명

이 구조체는 [ID3D12Device::GetResourceAllocationInfo](https://docs.xbox.com/ko/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getresourceallocationinfo_public.md) 및 [ID3D12Device::GetResourceAllocationInfo1](https://docs.xbox.com/ko/reference/graphics/d3d12/interfaces/id3d12device4/methods/id3d12device4_getresourceallocationinfo1_public.md) 메서드에서 사용됩니다.

## 요구 사항

**헤더:** d3d12\_xs.h 또는 d3d12\_x.h\
**라이브러리:** d3d12\_xs.lib 또는 d3d12\_x.lib\
**지원 플랫폼**: XBOX Series 콘솔 및 XBOX One 제품군

## 함께 보기

[CD3DX12\_RESOURCE\_ALLOCATION\_INFO](https://learn.microsoft.com/en-us/windows/win32/direct3d12/cd3dx12-resource-allocation-info)

[핵심 구조체](https://learn.microsoft.com/en-us/windows/win32/direct3d12/direct3d-12-structures)


## Related topics

- [GetResourceAllocationInfo](https://docs.xbox.com/ko/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getresourceallocationinfo_public.md)
- [GetResourceAllocationInfo1 (XBOX Series 콘솔)](https://docs.xbox.com/ko/reference/graphics/d3d12/interfaces/id3d12device4/methods/id3d12device4_getresourceallocationinfo1_public.md)
- [D3D12_RESOURCE_ALLOCATION_INFO1](https://docs.xbox.com/ko/reference/graphics/d3d12/structs/d3d12_resource_allocation_info1_public.md)
- [D3D12_DRED_ALLOCATION_TYPE](https://docs.xbox.com/ko/reference/graphics/d3d12/enums/d3d12_dred_allocation_type_public.md)
- [D3D12_DRED_ALLOCATION_NODE](https://docs.xbox.com/ko/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public.md)
