Table of Contents

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

uint

BaseArrayLayer

The base array layer visible in the view.

public uint BaseArrayLayer { get; }

Property Value

uint

BaseMipLevel

The base mip level visible in the view.

public uint BaseMipLevel { get; }

Property Value

uint

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

PixelFormat

IsDisposed

A bool indicating whether this instance has been disposed.

public abstract bool IsDisposed { get; }

Property Value

bool

MipLevels

The number of mip levels visible in the view.

public uint MipLevels { get; }

Property Value

uint

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

Target

The target Texture object to be sampled via this instance.

public Texture Target { get; }

Property Value

Texture

Methods

Dispose()

Frees unmanaged device resources controlled by this instance.

public abstract void Dispose()