Show / Hide Table of Contents

Class Sampler

A bindable device resource which controls how texture values are sampled within a shader. See SamplerDescription.

Inheritance
System.Object
Sampler
Implements
DeviceResource
BindableResource
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public abstract class Sampler : DeviceResource, BindableResource, IDisposable

Properties

IsDisposed

A bool indicating whether this instance has been disposed.

Declaration
public abstract bool IsDisposed { get; }
Property Value
Type Description
System.Boolean

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

Methods

Dispose()

Frees unmanaged device resources controlled by this instance.

Declaration
public abstract void Dispose()

Implements

DeviceResource
BindableResource
System.IDisposable
Back to top