SamplerState Class (Microsoft.Xna.Framework.Graphics)

System.Object
   Microsoft.Xna.Framework.Graphics.GraphicsResource
      Microsoft.Xna.Framework.Graphics.SamplerState

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public class SamplerState : GraphicsResource

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The SamplerState type exposes the following members.

  Platforms Name Description
SamplerState  
Top
  Platforms Name Description
AnisotropicClamp  
AnisotropicWrap  
LinearClamp  
LinearWrap  
PointClamp  
PointWrap  
Top
  Platforms Name Description
AddressU  
AddressV  
AddressW  
BorderColor  
ComparisonFunction When using comparison sampling, also set FilterMode to Comparison
Filter  
FilterMode  
GraphicsDevice  (Inherited from GraphicsResource.)
IsDisposed  (Inherited from GraphicsResource.)
MaxAnisotropy  
MaxMipLevel  
MipMapLevelOfDetailBias  
Name  (Inherited from GraphicsResource.)
Tag  (Inherited from GraphicsResource.)
Top
  Platforms Name Description
Dispose(bool) The method that derived classes should override to implement disposing of managed and native resources. (Overrides GraphicsResource.Dispose().)
Dispose()  (Inherited from GraphicsResource.)
Finalize  (Inherited from GraphicsResource.)
GraphicsDeviceResetting Called before the device is reset. Allows graphics resources to invalidate their state so they can be recreated after the device reset. Warning: This may be called after a call to Dispose() up until the resource is garbage collected. (Overrides GraphicsResource.GraphicsDeviceResetting().)
ToString  (Inherited from GraphicsResource.)
Top
  Platforms Name Description
Disposing  (Inherited from GraphicsResource.)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web