[−][src]Struct vulkano::swapchain::PresentFuture
Represents a swapchain image being presented on the screen.
Methods
impl<P, W> PresentFuture<P, W> where
P: GpuFuture,
[src]
P: GpuFuture,
pub fn image_id(&self) -> usize
[src]
Returns the index of the image in the list of images returned when creating the swapchain.
pub fn swapchain(&self) -> &Arc<Swapchain<W>>
[src]
Returns the corresponding swapchain.
Trait Implementations
impl<P, W> DeviceOwned for PresentFuture<P, W> where
P: GpuFuture,
[src]
P: GpuFuture,
impl<P, W> GpuFuture for PresentFuture<P, W> where
P: GpuFuture,
[src]
P: GpuFuture,
fn cleanup_finished(&mut self)
[src]
unsafe fn build_submission(&self) -> Result<SubmitAnyBuilder, FlushError>
[src]
fn flush(&self) -> Result<(), FlushError>
[src]
unsafe fn signal_finished(&self)
[src]
fn queue_change_allowed(&self) -> bool
[src]
fn queue(&self) -> Option<Arc<Queue>>
[src]
fn check_buffer_access(
&self,
buffer: &dyn BufferAccess,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlagBits)>, AccessCheckError>
[src]
&self,
buffer: &dyn BufferAccess,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlagBits)>, AccessCheckError>
fn check_image_access(
&self,
image: &dyn ImageAccess,
layout: ImageLayout,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlagBits)>, AccessCheckError>
[src]
&self,
image: &dyn ImageAccess,
layout: ImageLayout,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlagBits)>, AccessCheckError>
fn join<F>(self, other: F) -> JoinFuture<Self, F> where
Self: Sized,
F: GpuFuture,
[src]
Self: Sized,
F: GpuFuture,
fn then_execute<Cb>(
self,
queue: Arc<Queue>,
command_buffer: Cb
) -> Result<CommandBufferExecFuture<Self, Cb>, CommandBufferExecError> where
Self: Sized,
Cb: CommandBuffer + 'static,
[src]
self,
queue: Arc<Queue>,
command_buffer: Cb
) -> Result<CommandBufferExecFuture<Self, Cb>, CommandBufferExecError> where
Self: Sized,
Cb: CommandBuffer + 'static,
fn then_execute_same_queue<Cb>(
self,
command_buffer: Cb
) -> Result<CommandBufferExecFuture<Self, Cb>, CommandBufferExecError> where
Self: Sized,
Cb: CommandBuffer + 'static,
[src]
self,
command_buffer: Cb
) -> Result<CommandBufferExecFuture<Self, Cb>, CommandBufferExecError> where
Self: Sized,
Cb: CommandBuffer + 'static,
fn then_signal_semaphore(self) -> SemaphoreSignalFuture<Self> where
Self: Sized,
[src]
Self: Sized,
fn then_signal_semaphore_and_flush(
self
) -> Result<SemaphoreSignalFuture<Self>, FlushError> where
Self: Sized,
[src]
self
) -> Result<SemaphoreSignalFuture<Self>, FlushError> where
Self: Sized,
fn then_signal_fence(self) -> FenceSignalFuture<Self> where
Self: Sized,
[src]
Self: Sized,
fn then_signal_fence_and_flush(
self
) -> Result<FenceSignalFuture<Self>, FlushError> where
Self: Sized,
[src]
self
) -> Result<FenceSignalFuture<Self>, FlushError> where
Self: Sized,
fn then_swapchain_present<W>(
self,
queue: Arc<Queue>,
swapchain: Arc<Swapchain<W>>,
image_index: usize
) -> PresentFuture<Self, W> where
Self: Sized,
[src]
self,
queue: Arc<Queue>,
swapchain: Arc<Swapchain<W>>,
image_index: usize
) -> PresentFuture<Self, W> where
Self: Sized,
fn then_swapchain_present_incremental<W>(
self,
queue: Arc<Queue>,
swapchain: Arc<Swapchain<W>>,
image_index: usize,
present_region: PresentRegion
) -> PresentFuture<Self, W> where
Self: Sized,
[src]
self,
queue: Arc<Queue>,
swapchain: Arc<Swapchain<W>>,
image_index: usize,
present_region: PresentRegion
) -> PresentFuture<Self, W> where
Self: Sized,
impl<P, W> Drop for PresentFuture<P, W> where
P: GpuFuture,
[src]
P: GpuFuture,
Auto Trait Implementations
impl<P, W> Send for PresentFuture<P, W> where
P: Send,
W: Send + Sync,
P: Send,
W: Send + Sync,
impl<P, W> Unpin for PresentFuture<P, W> where
P: Unpin,
P: Unpin,
impl<P, W> Sync for PresentFuture<P, W> where
P: Sync,
W: Send + Sync,
P: Sync,
W: Send + Sync,
impl<P, W> UnwindSafe for PresentFuture<P, W> where
P: UnwindSafe,
W: RefUnwindSafe,
P: UnwindSafe,
W: RefUnwindSafe,
impl<P, W> RefUnwindSafe for PresentFuture<P, W> where
P: RefUnwindSafe,
W: RefUnwindSafe,
P: RefUnwindSafe,
W: RefUnwindSafe,
Blanket Implementations
impl<T> DeviceOwned for T where
T: Deref,
<T as Deref>::Target: DeviceOwned,
[src]
T: Deref,
<T as Deref>::Target: DeviceOwned,
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,