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

Return a reference to the Vulkan instance.

Return the Vulkan physical device.

Return a reference to the Vulkan 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:

Return a Vulkan command pool.

The pool will be used to allocate command buffers to upload textures to the gpu.

Implementors