Struct vulkano::swapchain::PresentFuture [] [src]

#[must_use = "Dropping this object will immediately block the thread until the GPU has finished processing the submission"]
pub struct PresentFuture<P, W> where
    P: GpuFuture
{ /* fields omitted */ }

Represents a swapchain image being presented on the screen.

Methods

impl<P, W> PresentFuture<P, W> where
    P: GpuFuture
[src]

[src]

Returns the index of the image in the list of images returned when creating the swapchain.

[src]

Returns the corresponding swapchain.

Trait Implementations

impl<P, W> GpuFuture for PresentFuture<P, W> where
    P: GpuFuture
[src]

[src]

If possible, checks whether the submission has finished. If so, gives up ownership of the resources used by these submissions. Read more

[src]

Builds a submission that, if submitted, makes sure that the event represented by this GpuFuture will happen, and possibly contains extra elements (eg. a semaphore wait or an event wait) that makes the dependency with subsequent operations work. Read more

[src]

Flushes the future and submits to the GPU the actions that will permit this future to occur. Read more

[src]

Sets the future to its "complete" state, meaning that it can safely be destroyed. Read more

[src]

Returns true if elements submitted after this future can be submitted to a different queue than the other returned by queue(). Read more

[src]

Returns the queue that triggers the event. Returns None if unknown or irrelevant. Read more

[src]

Checks whether submitting something after this future grants access (exclusive or shared, depending on the parameter) to the given buffer on the given queue. Read more

[src]

Checks whether submitting something after this future grants access (exclusive or shared, depending on the parameter) to the given image on the given queue. Read more

[src]

Joins this future with another one, representing the moment when both events have happened.

[src]

Executes a command buffer after this future. Read more

[src]

Executes a command buffer after this future, on the same queue as the future. Read more

[src]

Signals a semaphore after this future. Returns another future that represents the signal. Read more

[src]

Signals a semaphore after this future and flushes it. Returns another future that represents the moment when the semaphore is signalled. Read more

[src]

Signals a fence after this future. Returns another future that represents the signal. Read more

[src]

Signals a fence after this future. Returns another future that represents the signal. Read more

[src]

Presents a swapchain image after this future. Read more

[src]

Same as then_swapchain_present, except it allows specifying a present region. Read more

impl<P, W> DeviceOwned for PresentFuture<P, W> where
    P: GpuFuture
[src]

[src]

Returns the device that owns Self.

impl<P, W> Drop for PresentFuture<P, W> where
    P: GpuFuture
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<P, W> Send for PresentFuture<P, W> where
    P: Send,
    W: Send + Sync

impl<P, W> Sync for PresentFuture<P, W> where
    P: Sync,
    W: Send + Sync