 | TextureMagnificationFilter Property |
Gets or sets the magnification filter for this texture.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic TextureMagFilter MagnificationFilter { get; set; }
Public Property MagnificationFilter As TextureMagFilter
Get
Set
public:
property TextureMagFilter MagnificationFilter {
TextureMagFilter get ();
void set (TextureMagFilter value);
}
member MagnificationFilter : TextureMagFilter with get, set
Property Value
Type:
TextureMagFilter
Remarks
The texture magnification function is used when the pixel being textured maps to an area less than or equal to one texture element.
It sets the texture magnification function to either Nearest or Linear.
Nearest is generally faster than Linear, but it can produce textured images with sharper edges because the transition between texture elements is not as smooth.
The initial value of the magnification filter is Linear.
Note: in DEBUG mode with assertions enabled, an error will be logged to the debug console if this texture is not bound.
OpenGL API: glTexParameteri(GL_TEXTURE_MAG_FILTER), glGetTexParameteriv(GL_TEXTURE_MAG_FILTER)
See Also