TextureAddressMode Enumeration (Microsoft.Xna.Framework.Graphics)

Defines modes for addressing texels using texture coordinates that are outside of the range of 0.0 to 1.0.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public enum TextureAddressMode

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The TextureAddressMode type exposes the following members.

  Platforms Name Description
Border Texels outside range will be set to the border color. 
Clamp Texels outside range will be set to color of 0.0 or 1.0 texel. 
Mirror Same as Wrap but tiles will also flipped at every integer junction. 
Wrap Texels outside range will form the tile at every integer junction. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web