Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes parameters needed to allocate resources, including offset.
Syntax
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 method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 20348 |
Minimum supported server | Windows 10 Build 20348 |
Header | d3d12.h |