Struct openxr::Swapchain[][src]

pub struct Swapchain<G: Graphics> { /* fields omitted */ }
Expand description

A set of images to be rendered to using a particular graphics API G

Implementations

Take ownership of an existing swapchain handle

Safety

handle must be a valid swapchain handle associated with session and created with flags.

Access the raw swapchain handle

Access the Instance self is descended from

Set the debug name of this Swapchain, if XR_EXT_debug_utils is loaded

Determine the index of the next image to render to in the swapchain image array

Wait for the compositor to finish reading from the oldest unwaited acquired image

Release the oldest acquired image

Trait Implementations

Executes the destructor for this type. Read more

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

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.