Struct vulkano::swapchain::Swapchain[][src]

pub struct Swapchain<W> { /* fields omitted */ }
Expand description

Contains the swapping system and the images that can be shown on a surface.

Implementations

Starts the process of building a new swapchain, using default values for the parameters.

Starts building a new swapchain from an existing swapchain.

Use this when a swapchain has become invalidated, such as due to window resizes. The builder is pre-filled with the parameters of the old one, except for dimensions, which is set to None.

Returns the saved Surface, from the Swapchain creation.

Returns of the images that belong to this swapchain.

Returns the number of images of the swapchain.

Returns the format of the images of the swapchain.

Returns the dimensions of the images of the swapchain.

Returns the number of layers of the images of the swapchain.

Returns the transform that was passed when creating the swapchain.

Returns the alpha mode that was passed when creating the swapchain.

Returns the present mode that was passed when creating the swapchain.

Returns the value of clipped that was passed when creating the swapchain.

Returns the value of ’fullscreen_exclusive` that was passed when creating the swapchain.

FullscreenExclusive::AppControlled must be the active fullscreen exclusivity mode. Acquire fullscreen exclusivity until either the release_fullscreen_exclusive is called, or if any of the the other Swapchain functions return FullscreenExclusiveLost. Requires: FullscreenExclusive::AppControlled

FullscreenExclusive::AppControlled must be the active fullscreen exclusivity mode. Release fullscreen exclusivity.

FullscreenExclusive::AppControlled is not the active fullscreen exclusivity mode, then this function will always return false. If true is returned the swapchain is in FullscreenExclusive::AppControlled fullscreen exclusivity mode and exclusivity is currently acquired.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the device that owns Self.

Executes the destructor for this type. Read more

The type of the object.

Returns a reference to the object.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.