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
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
Height
Gets the height of the Framebuffer.
public virtual uint Height { get; }
Property Value
IsDisposed
A bool indicating whether this instance has been disposed.
public abstract bool IsDisposed { get; }
Property Value
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
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
Width
Gets the width of the Framebuffer.
public virtual uint Width { get; }
Property Value
Methods
Dispose()
Frees unmanaged device resources controlled by this instance.
public abstract void Dispose()