Computer graphics in Game development - summer 2023
Resource is any data in memory
Computer graphics in Game development - summer 2023
Resource is any data in memory
Resource descriptor shows how the particular resourse will be used
Descriptors heaps hold resource descriptors.
Types of descriptor heaps:
create_heap
, get_cpu_descriptor_handle
, get_gpu_descriptor_handle
, and get
methods of cg::renderer::descriptor_heap
Resource barriers notifies a graphics drivers of situationn in which the driver may need to synchronize multiple accesses to the memory in which a resource is stored.
In DX12 the application is managing all resource states:
1. Satran M. et al. Direct3D 12 programming guide [Electronic resource]. 2019. URL: https://docs.microsoft.com/en-us/windows/win32/direct3d12/directx-12-programming-guide.
2. White S. Using resource barriers to synchronize resource states in Direct3D 12 - win32 apps // Win32 apps | Microsoft Learn.