SKTextureFilteringMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |