Class TextureView
A bindable device resource which provides a shader with access to a sampled Texture object. See TextureViewDescription.
Inheritance
Inherited Members
Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public abstract class TextureView : BindableResource, DeviceResource, IDisposable
Properties
ArrayLayers
The number of array layers visible in the view.
Declaration
public uint ArrayLayers { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
BaseArrayLayer
The base array layer visible in the view.
Declaration
public uint BaseArrayLayer { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
BaseMipLevel
The base mip level visible in the view.
Declaration
public uint BaseMipLevel { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
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.
Declaration
public PixelFormat Format { get; }
Property Value
Type | Description |
---|---|
PixelFormat |
IsDisposed
A bool indicating whether this instance has been disposed.
Declaration
public abstract bool IsDisposed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MipLevels
The number of mip levels visible in the view.
Declaration
public uint MipLevels { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Name
A string identifying this instance. Can be used to differentiate between objects in graphics debuggers and other tools.
Declaration
public abstract string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Target
The target Texture object to be sampled via this instance.
Declaration
public Texture Target { get; }
Property Value
Type | Description |
---|---|
Texture |
Methods
Dispose()
Frees unmanaged device resources controlled by this instance.
Declaration
public abstract void Dispose()