[−][src]Trait imgui_rs_vulkan_renderer::RendererVkContext
Trait providing access to the application's Vulkan context.
Required methods
fn instance(&self) -> &Instance
Return a reference to the Vulkan instance.
fn physical_device(&self) -> PhysicalDevice
Return the Vulkan physical device.
fn device(&self) -> &Device
Return a reference to the Vulkan device.
fn queue(&self) -> Queue
Return a Vulkan queue.
It will be used to submit commands during initialization to upload data to the gpu. The type of queue must be supported by the following commands:
fn command_pool(&self) -> CommandPool
Return a Vulkan command pool.
The pool will be used to allocate command buffers to upload textures to the gpu.