GlSwapchain

Undocumented in source.
package final
class GlSwapchain : Swapchain {}

Constructors

this
this(GlDevice device, GlShare share, Surface surface, PresentMode pm, uint numImages, Format format, uint[2] size, ImageUsage usage, CompositeAlpha alpha, Swapchain former)
Undocumented in source.

Members

Functions

acquireNextImage
ImageAcquisition acquireNextImage(Semaphore semaphore, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

device
Device device [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
format
Format format [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
images
ImageBase[] images [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
uint[2] size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
surface
GlSurface surface [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_dev
Rc!Device _dev;
Undocumented in source.
_format
Format _format;
Undocumented in source.
_imgs
GlImage[] _imgs;
Undocumented in source.
_imgsB
ImageBase[] _imgsB;
Undocumented in source.
_nextImg
uint _nextImg;
Undocumented in source.
_share
Rc!GlShare _share;
Undocumented in source.
_size
uint[2] _size;
Undocumented in source.
_surface
GlSurface _surface;
Undocumented in source.

Inherited Members

From Swapchain

device
Device device [@property getter]

Get the parent device

surface
Surface surface [@property getter]

Get the Surface that this swapchain is bound to.

format
Format format [@property getter]

The image format of this swapchain

images
ImageBase[] images [@property getter]

Get the list of images owned by this swapchain. The index of each image is meaningful and is often used to reference the image (such as the index returned by acquireNextImage)

acquireNextImage
ImageAcquisition acquireNextImage(Semaphore semaphore, Duration timeout)

Acquire the next image in the swapchain. This function may block until the next image is available.

Meta