Table of Contents

Class Swapchain

Namespace
NeoVeldrid
Assembly
NeoVeldrid.dll

A device resource providing the ability to present rendered images to a visible surface. See SwapchainDescription.

public abstract class Swapchain : DeviceResource, IDisposable
Inheritance
Swapchain
Implements
Inherited Members

Properties

Framebuffer

Gets a Framebuffer representing the render targets of this instance.

public abstract Framebuffer Framebuffer { get; }

Property Value

Framebuffer

IsDisposed

A bool indicating whether this instance has been disposed.

public abstract bool IsDisposed { get; }

Property Value

bool

Name

A string identifying this instance. Can be used to differentiate between objects in graphics debuggers and other tools.

public abstract string Name { get; set; }

Property Value

string

SyncToVerticalBlank

Gets or sets whether presentation of this Swapchain will be synchronized to the window system's vertical refresh rate.

public abstract bool SyncToVerticalBlank { get; set; }

Property Value

bool

Methods

Dispose()

Frees unmanaged device resources controlled by this instance.

public abstract void Dispose()

Resize(uint, uint)

Resizes the renderable Textures managed by this instance to the given dimensions.

public abstract void Resize(uint width, uint height)

Parameters

width uint

The new width of the Swapchain.

height uint

The new height of the Swapchain.