Click or drag to resize
SoTexturemagFilter Property

Specifies the OpenGL magFilter.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
public SoSFEnum<SoTextureFilters> magFilter { get; }

Property Value

Type: SoSFEnumSoTextureFilters

Use enum OIV.Inventor.Nodes.SoTexture.Filters. Default is AUTO. Only the following Filter values are valid: AUTO, NEAREST, and LINEAR.

The magnification filter is used when the rendered size of the geometry is larger than the texture image to be applied (typically near objects). Effectively controls whether the GPU will select the "nearest" texel in the texture image or do linear interpolation (smoothing). Using NEAREST may allow better performance, but the LINEAR options produce much higher quality rendering.

Only the values NEAREST and LINEAR are valid in this field (see OpenGL specification).

The default value (AUTO) means that the magnification filter setting is actually controlled by the OIV.Inventor.Nodes.SoComplexity.textureQuality field.

Note Note

Field available since Open Inventor 5.0

See Also