GraphicsAPI reference
Class Sampler
Namespace: MicroEngine.Graphics.Devices
Assembly: MicroEngine.Graphics.dll
Guide: The graphics device
Device-owned, cached sampler object for one SamplerDescription (never disposed by callers).
public abstract class SamplerInheritance
Constructors
Sampler(IGraphicsDevice, in SamplerDescription)
Creates the sampler object.
protected Sampler(IGraphicsDevice device, in SamplerDescription description)Parameters
device IGraphicsDevice
description SamplerDescription
Properties
Description
The sampler state.
public SamplerDescription Description { get; }Property Value
Device
The owning device.
public IGraphicsDevice Device { get; }