pub struct RendererCreateInfo {
pub device: Device,
pub memory_properties: PhysicalDeviceMemoryProperties,
pub render_pass: RenderPass,
pub command_pool: CommandPool,
pub queue: Queue,
}Expand description
Parameters required to create a Renderer.
Fields§
§device: DeviceA cloned ash::Device handle. The renderer stores its own clone.
memory_properties: PhysicalDeviceMemoryPropertiesPhysical device memory properties, used for buffer/image allocation.
render_pass: RenderPassThe render pass the imgui pipeline will be compatible with (subpass 0).
command_pool: CommandPoolA command pool for one-shot upload commands (font texture).
queue: QueueA queue that supports graphics and transfer operations.
Auto Trait Implementations§
impl Freeze for RendererCreateInfo
impl RefUnwindSafe for RendererCreateInfo
impl Send for RendererCreateInfo
impl Sync for RendererCreateInfo
impl Unpin for RendererCreateInfo
impl UnwindSafe for RendererCreateInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more