Struct egui_ash::AshRenderState
source · pub struct AshRenderState<A: Allocator + 'static> {
pub entry: Arc<Entry>,
pub instance: Arc<Instance>,
pub physical_device: PhysicalDevice,
pub device: Arc<Device>,
pub surface_loader: Arc<Surface>,
pub swapchain_loader: Arc<Swapchain>,
pub queue: Queue,
pub queue_family_index: u32,
pub command_pool: CommandPool,
pub allocator: A,
}Expand description
vulkan objects required for drawing ash.
You should return this struct from AppCreator::create().
Fields§
§entry: Arc<Entry>§instance: Arc<Instance>§physical_device: PhysicalDevice§device: Arc<Device>§surface_loader: Arc<Surface>§swapchain_loader: Arc<Swapchain>§queue: Queue§queue_family_index: u32§command_pool: CommandPool§allocator: AAuto Trait Implementations§
impl<A> RefUnwindSafe for AshRenderState<A>where
A: RefUnwindSafe,
impl<A> Send for AshRenderState<A>
impl<A> Sync for AshRenderState<A>
impl<A> Unpin for AshRenderState<A>where
A: Unpin,
impl<A> UnwindSafe for AshRenderState<A>where
A: UnwindSafe,
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