Click or drag to resize

TextureFilter2D Structure

Represents filtering for a texture

Namespace:  AGI.Foundation.Graphics.Renderer
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 19.2.399.0 (19.2.399.0)
Syntax
public struct TextureFilter2D : IEquatable<TextureFilter2D>

The TextureFilter2D type exposes the following members.

Constructors
  NameDescription
Public methodTextureFilter2D(MinificationFilter, MagnificationFilter)
Initializes a texture filter with the specified minificationFilter and magnificationFilter.
Public methodTextureFilter2D(TextureWrap, TextureWrap)
Initializes a texture filter with the specified wrapS and wrapT.
Public methodTextureFilter2D(MinificationFilter, MagnificationFilter, TextureWrap, TextureWrap)
Initializes a texture filter with the specified filters and texture wrap.
Top
Properties
  NameDescription
Public propertyStatic memberLinearClampToEdge
Gets a texture filter with the following properties:
Public propertyStatic memberLinearRepeat
Gets a texture filter with the following properties:
Public propertyMagnificationFilter
Gets the magnification filter used when the pixel being textured maps to an area greater than one texel.
Public propertyMinificationFilter
Gets the minification filter used when the pixel being textured maps to an area less than or equal to one texel.
Public propertyStatic memberNearestClampToEdge
Gets a texture filter with the following properties:
Public propertyStatic memberNearestRepeat
Gets a texture filter with the following properties:
Public propertyWrapS
Gets the texture wrap for the s direction.
Public propertyWrapT
Gets the texture wrap for the t direction.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(TextureFilter2D)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberSupported
Gets whether or not the video card supports the specified textureWrap.
Public methodToString
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
See Also