Trait imgui_rs_vulkan_renderer::RendererVkContext [−][src]
pub trait RendererVkContext { fn instance(&self) -> &Instance; fn physical_device(&self) -> PhysicalDevice; fn device(&self) -> &Device; fn queue(&self) -> Queue; fn command_pool(&self) -> CommandPool; }
Expand description
Trait providing access to the application’s Vulkan context.
Required methods
fn physical_device(&self) -> PhysicalDevice
fn physical_device(&self) -> PhysicalDevice
Return the Vulkan physical device.
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
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.