Skip to content

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).

C#
public abstract class Sampler

Inheritance

object ← Sampler

Constructors

Sampler(IGraphicsDevice, in SamplerDescription)

Creates the sampler object.

C#
protected Sampler(IGraphicsDevice device, in SamplerDescription description)

Parameters

device IGraphicsDevice

description SamplerDescription

Properties

Description

The sampler state.

C#
public SamplerDescription Description { get; }

Property Value

SamplerDescription

Device

The owning device.

C#
public IGraphicsDevice Device { get; }

Property Value

IGraphicsDevice