Table of Contents

Class SamplerStateFactory

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

A factory for creating SamplerState instances. Contains pre-created Sampler States for commonly used configurations.

public class SamplerStateFactory : GraphicsResourceFactoryBase, IDisposable, IComponent, IReferencable, ICollectorHolder
Inheritance
object
SamplerStateFactory
Implements
Inherited Members
Extension Methods

Remarks

To access these default Sampler States, you can access them through SamplerStates.

Fields

AnisotropicClamp

Default Sampler State for anisotropic filtering with texture coordinate clamping.

public readonly SamplerState AnisotropicClamp

Field Value

SamplerState

AnisotropicWrap

Default Sampler State for anisotropic filtering with texture coordinate wrapping.

public readonly SamplerState AnisotropicWrap

Field Value

SamplerState

LinearClamp

Default Sampler State for linear filtering with texture coordinate clamping.

public readonly SamplerState LinearClamp

Field Value

SamplerState

LinearWrap

Default Sampler State for linear filtering with texture coordinate wrapping.

public readonly SamplerState LinearWrap

Field Value

SamplerState

PointClamp

Default Sampler State for point filtering with texture coordinate clamping.

public readonly SamplerState PointClamp

Field Value

SamplerState

PointWrap

Default Sampler State for point filtering with texture coordinate wrapping.

public readonly SamplerState PointWrap

Field Value

SamplerState