Class DeviceBuffer
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
A device resource used to store arbitrary graphics data in various formats. The size of a DeviceBuffer is fixed upon creation, and resizing is not possible. See BufferDescription.
public abstract class DeviceBuffer : DeviceResource, BindableResource, MappableResource, IDisposable
- Inheritance
-
DeviceBuffer
- Implements
- Inherited Members
Properties
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
SizeInBytes
The total capacity, in bytes, of the buffer. This value is fixed upon creation.
public abstract uint SizeInBytes { get; }
Property Value
Usage
A bitmask indicating how this instance is permitted to be used.
public abstract BufferUsage Usage { get; }
Property Value
Methods
Dispose()
Frees unmanaged device resources controlled by this instance.
public abstract void Dispose()