public final class TextureFilter2D extends Object implements IEquatable<TextureFilter2D>, ImmutableValueType
| Constructor and Description | 
|---|
TextureFilter2D()
Initializes a new instance. 
 | 
TextureFilter2D(MinificationFilter minificationFilter,
               MagnificationFilter magnificationFilter)
Initializes a texture filter with the specified 
     
minificationFilter and magnificationFilter. | 
TextureFilter2D(MinificationFilter minificationFilter,
               MagnificationFilter magnificationFilter,
               TextureWrap wrapS,
               TextureWrap wrapT)
Initializes a texture filter with the specified filters and texture wrap. 
 | 
TextureFilter2D(TextureWrap wrapS,
               TextureWrap wrapT)
Initializes a texture filter with the specified 
     
wrapS and wrapT. | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)
Indicates whether another object is exactly equal to this instance. 
 | 
static boolean | 
equals(TextureFilter2D left,
      TextureFilter2D right)
Returns  
true if the two instances are exactly equal. | 
boolean | 
equalsType(TextureFilter2D other)
Indicates whether another instance of this type is exactly equal to this instance. 
 | 
static TextureFilter2D | 
getLinearClampToEdge()
    Gets a texture filter with the following properties: 
 | 
static TextureFilter2D | 
getLinearRepeat()
    Gets a texture filter with the following properties: 
 | 
MagnificationFilter | 
getMagnificationFilter()
Gets the magnification filter used when the pixel being textured maps to an area greater than one texel. 
 | 
MinificationFilter | 
getMinificationFilter()
Gets the minification filter used when the pixel being textured maps to an area less than or equal to one texel. 
 | 
static TextureFilter2D | 
getNearestClampToEdge()
    Gets a texture filter with the following properties: 
 | 
static TextureFilter2D | 
getNearestRepeat()
    Gets a texture filter with the following properties: 
 | 
TextureWrap | 
getWrapS()
Gets the texture wrap for the  
s direction. | 
TextureWrap | 
getWrapT()
Gets the texture wrap for the  
t direction. | 
int | 
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table. 
 | 
static boolean | 
notEquals(TextureFilter2D left,
         TextureFilter2D right)
Returns  
true if the two instances are not exactly equal. | 
static boolean | 
supported(TextureWrap textureWrap)
Gets whether the video card supports the specified  
textureWrap. | 
String | 
toString()
Returns the string representation of the value of this instance. 
 | 
public TextureFilter2D()
public TextureFilter2D(@Nonnull MinificationFilter minificationFilter, @Nonnull MagnificationFilter magnificationFilter, @Nonnull TextureWrap wrapS, @Nonnull TextureWrap wrapT)
minificationFilter - The minification filter to use when the pixel being textured maps to an area less than or equal to one texel.magnificationFilter - The magnification filter to use when the pixel being textured maps to an area greater than one texel.wrapS - The texture wrap for the s direction.wrapT - The texture wrap for the t direction.public TextureFilter2D(@Nonnull TextureWrap wrapS, @Nonnull TextureWrap wrapT)
wrapS and wrapT.wrapS - The texture wrap for the s direction.wrapT - The texture wrap for the t direction.public TextureFilter2D(@Nonnull MinificationFilter minificationFilter, @Nonnull MagnificationFilter magnificationFilter)
minificationFilter and magnificationFilter.minificationFilter - The minification filter to use when the pixel being textured maps to an area less than or equal to one texel.magnificationFilter - The magnification filter to use when the pixel being textured maps to an area greater than one texel.@Nonnull public final MinificationFilter getMinificationFilter()
@Nonnull public final MagnificationFilter getMagnificationFilter()
@Nonnull public final TextureWrap getWrapS()
s direction.@Nonnull public final TextureWrap getWrapT()
t direction.@Nonnull public static TextureFilter2D getNearestClampToEdge()
Gets a texture filter with the following properties:
| Property | Value | 
|---|---|
MinificationFilter (get) | 
    Nearest | 
    
MagnificationFilter (get) | 
    Nearest | 
    
WrapS (get) | 
    ClampToEdge | 
    
WrapT (get) | 
    ClampToEdge | 
    
@Nonnull public static TextureFilter2D getNearestRepeat()
@Nonnull public static TextureFilter2D getLinearClampToEdge()
Gets a texture filter with the following properties:
| Property | Value | 
|---|---|
MinificationFilter (get) | 
    Linear | 
    
MagnificationFilter (get) | 
    Linear | 
    
WrapS (get) | 
    ClampToEdge | 
    
WrapT (get) | 
    ClampToEdge | 
    
@Nonnull public static TextureFilter2D getLinearRepeat()
public static boolean supported(@Nonnull TextureWrap textureWrap)
textureWrap.textureWrap - The texture wrap to check support for.true if the video card supports textureWrap; otherwise false.UnsupportedCaseException - textureWrap must be a valid enumeration value in 
    TextureWrap.public boolean equals(Object obj)
equals in class Objectobj - The object to compare to this instance.true if obj is an instance of this type and represents the same value as this instance; otherwise false.Object.hashCode(), 
HashMappublic final boolean equalsType(@Nonnull TextureFilter2D other)
equalsType in interface IEquatable<TextureFilter2D>other - The instance to compare to this instance.true if other represents the same value as this instance; otherwise false.public int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object), 
System.identityHashCode(java.lang.Object)public String toString()
public static boolean equals(@Nonnull TextureFilter2D left, @Nonnull TextureFilter2D right)
true if the two instances are exactly equal.left - The instance to compare to right.right - The instance to compare to left.true if left represents the same value as right; otherwise false.public static boolean notEquals(@Nonnull TextureFilter2D left, @Nonnull TextureFilter2D right)
true if the two instances are not exactly equal.left - The instance to compare to right.right - The instance to compare to left.true if left does not represent the same value as right; otherwise false.