pub struct Display { /* private fields */ }
Expand description
A physical display interface.
Implementations§
source§impl Display
impl Display
sourcepub fn new(
device: &Arc<Device>,
pool: Box<dyn ResolverPool>,
cmd_buf_count: usize,
queue_family_index: u32
) -> Result<Self, DriverError>
pub fn new( device: &Arc<Device>, pool: Box<dyn ResolverPool>, cmd_buf_count: usize, queue_family_index: u32 ) -> Result<Self, DriverError>
Constructs a new Display
object.
sourcepub fn resolve_image(
&mut self,
render_graph: RenderGraph,
swapchain_image: SwapchainImageNode
) -> Result<SwapchainImage, DisplayError>
pub fn resolve_image( &mut self, render_graph: RenderGraph, swapchain_image: SwapchainImageNode ) -> Result<SwapchainImage, DisplayError>
Displays the given swapchain image using passes specified in render_graph
, if possible.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Display
impl !Send for Display
impl !Sync for Display
impl Unpin for Display
impl !UnwindSafe for Display
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