SKTextureFilteringMode Enum

Definition

An enumeration whose values specify how a SKTexture is rendered on a SKSpriteNode of a different size.

public enum SKTextureFilteringMode
type SKTextureFilteringMode = 
Inheritance
SKTextureFilteringMode

Fields

Linear 1

The pixel is calculated using a linear filter of the nearby texture pixels. Slower, higher quality.

Nearest 0

The pixel is calculated using the nearest point in the texture. Faster, lower quality.

Applies to