Class SamplerStateFactory
A factory for creating SamplerState instances. Contains pre-created Sampler States for commonly used configurations.
public class SamplerStateFactory : GraphicsResourceFactoryBase, IDisposable, IComponent, IReferencable, ICollectorHolder
- Inheritance
-
objectSamplerStateFactory
- 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
AnisotropicWrap
Default Sampler State for anisotropic filtering with texture coordinate wrapping.
public readonly SamplerState AnisotropicWrap
Field Value
LinearClamp
Default Sampler State for linear filtering with texture coordinate clamping.
public readonly SamplerState LinearClamp
Field Value
LinearWrap
Default Sampler State for linear filtering with texture coordinate wrapping.
public readonly SamplerState LinearWrap
Field Value
PointClamp
Default Sampler State for point filtering with texture coordinate clamping.
public readonly SamplerState PointClamp
Field Value
PointWrap
Default Sampler State for point filtering with texture coordinate wrapping.
public readonly SamplerState PointWrap