19#include <wil/resource.h>
25namespace xrt::auxiliary::d3d::d3d12 {
50 std::vector<wil::com_ptr<ID3D12Resource>> &out_images,
51 std::vector<wil::unique_handle> &out_handles,
52 std::uint64_t &out_image_mem_size);
xrt_result_t allocateSharedImages(ID3D11Device5 &device, const xrt_swapchain_create_info &xsci, size_t image_count, bool keyed_mutex, std::vector< wil::com_ptr< ID3D11Texture2D1 > > &out_images, std::vector< HANDLE > &out_handles)
Allocate images (ID3D11Texture2D1) that have a corresponding native handle.
Definition: d3d_d3d11_allocator.cpp:69
enum xrt_result xrt_result_t
Result type used across Monado.
Swapchain creation info.
Definition: xrt_compositor.h:876
Header declaring XRT graphics interfaces.