Hi, i am trying to get a D3D12 Example working, i don't understand why CreateDescriptorHeap is failing with E_INVALIDARG.
RtvDescriptorHeap: ^D3.IDescriptorHeap
{
Description := D3.DESCRIPTOR_HEAP_DESC {
NumDescriptors = NUM_RENDERTARGETS,
Type = .RTV,
Flags = {.NONE},
}
HResult = Device->CreateDescriptorHeap(&Description, D3.IDescriptorHeap_UUID, (^rawptr)(&RtvDescriptorHeap))
check(HResult, "Failed to create descriptor heap!")
}