Class Swapchain¶
Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll
The images of a window, which the frame loop acquires, renders to and presents. Made by
public abstract class Swapchain : IDisposable
Inheritance¶
Derived¶
MetalSwapchain, VulkanSwapchain
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
Format¶
The format of the images: UNORM, because shaders write sRGB-encoded values themselves.
public abstract PixelFormat Format { get; }
Property Value¶
Height¶
public abstract uint Height { get; }
Property Value¶
ImageCount¶
public abstract int ImageCount { get; }
Property Value¶
IsStale¶
The window's size is no longer the images' size.
public abstract bool IsStale { get; }
Property Value¶
IsZeroSized¶
public abstract bool IsZeroSized { get; }
Property Value¶
VSync¶
public abstract bool VSync { get; }
Property Value¶
Width¶
public abstract uint Width { get; }
Property Value¶
Methods¶
Dispose()¶
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public abstract void Dispose()
Recreate()¶
Makes the images fit the window again.
public abstract void Recreate()