GlSwapchain

Undocumented in source.

Constructors

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

Members

Functions

acquireNextImage
uint acquireNextImage(Duration timeout, Semaphore semaphore, bool suboptimal)
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

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

_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

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
uint acquireNextImage(Duration timeout, Semaphore semaphore, bool suboptimal)

use negative timeout to specify no timeout at all

Meta