Table of Contents

Class Framebuffer

Namespace
NeoVeldrid
Assembly
NeoVeldrid.dll

A device resource used to control which color and depth textures are rendered to. See FramebufferDescription.

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

Properties

ColorTargets

Gets the collection of color attachments associated with this instance. May be empty.

public virtual IReadOnlyList<FramebufferAttachment> ColorTargets { get; }

Property Value

IReadOnlyList<FramebufferAttachment>

DepthTarget

Gets the depth attachment associated with this instance. May be null if no depth texture is used.

public virtual FramebufferAttachment? DepthTarget { get; }

Property Value

FramebufferAttachment?

Height

Gets the height of the Framebuffer.

public virtual uint Height { get; }

Property Value

uint

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

OutputDescription

Gets an OutputDescription which describes the number and formats of the depth and color targets in this instance.

public virtual OutputDescription OutputDescription { get; }

Property Value

OutputDescription

Width

Gets the width of the Framebuffer.

public virtual uint Width { get; }

Property Value

uint

Methods

Dispose()

Frees unmanaged device resources controlled by this instance.

public abstract void Dispose()