Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextureSmoothing

A class that provides constant values for the possible smoothing algorithms of a texture.

Hierarchy

  • TextureSmoothing

Index

Properties

Methods

Properties

Static BILINEAR

BILINEAR: string

Bilinear filtering. Creates smooth transitions between pixels.

Static NONE

NONE: string

No smoothing, also called "Nearest Neighbor". Pixels will scale up as big rectangles.

Static TRILINEAR

TRILINEAR: string

Trilinear filtering. Highest quality by taking the next mip map level into account.

Methods

Static isValid

  • isValid(smoothing: string): boolean

Generated using TypeDoc