FMX.Types3D.TTextureFilter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTextureFilter = (Nearest, Linear);

C++

enum class DECLSPEC_DENUM TTextureFilter : unsigned char { Nearest, Linear };

Properties

Type Visibility Source Unit Parent
enum public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D FMX.Types3D

Description

Enumerates the types of texture filters.

TTextureFilter has the following values:

Value Meaning

tfNearest

The nearest filter is used. When texturing, each texture coordinate picks the texel color to which it is nearest.

tfLinear

The linear filter is used. When texturing, each texture coordinate picks a weighted average color of 4 adjacent texel.

See Also