Class TextureView
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
A bindable device resource which provides a shader with access to a sampled Texture object. See TextureViewDescription.
public abstract class TextureView : BindableResource, DeviceResource, IDisposable
- Inheritance
-
TextureView
- Implements
- Inherited Members
Properties
ArrayLayers
The number of array layers visible in the view.
public uint ArrayLayers { get; }
Property Value
BaseArrayLayer
The base array layer visible in the view.
public uint BaseArrayLayer { get; }
Property Value
BaseMipLevel
The base mip level visible in the view.
public uint BaseMipLevel { get; }
Property Value
Format
The format used to interpret the contents of the target Texture. This may be different from the target Texture's true storage format, but it will be the same size.
public PixelFormat Format { get; }
Property Value
IsDisposed
A bool indicating whether this instance has been disposed.
public abstract bool IsDisposed { get; }
Property Value
MipLevels
The number of mip levels visible in the view.
public uint MipLevels { 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
Target
The target Texture object to be sampled via this instance.
public Texture Target { get; }
Property Value
Methods
Dispose()
Frees unmanaged device resources controlled by this instance.
public abstract void Dispose()