`D3D12_HEAP_TYPE, D3D12_CPU_PAGE_PROPERTY, D3D12_MEMORY_POOL, D3D12_HEAP_FLAGS, D3D12_HEAP_PROPERTIES, and D3D12_HEAP_DESC
ID3D12Heap
Wrap ID3D12Device::CreateHeap
Made a tricky enum because DX12 doesn't follow Rust's rules
bump version to 0.2.0
Use bitflags for heap::Flags
Fix typo
Another typo fix
3: Add struct for descriptor binding r=grovesNL a=msiglreith
A bit more safety for API users to pass the correct values.
Co-authored-by: msiglreith <m.siglreith@gmail.com>
1: Initialize crate r=kvark a=msiglreith
The crate is supposed to be a Rust wrapper around D3D12.
Motivated by trying to hide the FFI behind a nicer to use layer (part of BAL).
It aims at providing a zero-cost abstraction without any overhead at all (no transition costs between Rust structs and D3D12 structs or allocations). The API closely ressambles the d3d12 interfaces and is strucutered accordingly.
It currently uses a custom `ComPtr` implementation which does not do any refcounting, therefore requires manual destruction when dropping.
Co-authored-by: msiglreith <m.siglreith@gmail.com>