TextureFiltering
Declaration
public sealed enum Strawberry.Graphics.TextureFiltering
The texture filtering modes.
Members
| Name | Value | Description |
|---|---|---|
Nearest |
0 | Nearest neighbor filtering. identifies the single closest pixel (or "texel") to the coordinate center and uses its exact color |
Linear |
1 | Linear filtering. Interpolates vertically and horizontally between the four pixels surrounding a coordinate. |
Fields
Nearest static
Nearest neighbor filtering. identifies the single closest pixel (or "texel") to the coordinate center and uses its exact color
TextureFiltering Nearest = 0
Linear static
Linear filtering. Interpolates vertically and horizontally between the four pixels surrounding a coordinate.
TextureFiltering Linear = 1