AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

RB.Filter

Enumeration

Description

When using custom shaders it can sometimes be useful to change the sprite sheet texture filter. By default the texture filter is Nearest which produces nice crisp pixels. Linear filtering samples neighbouring pixels and produces a smoothed pixel colors.

Filter mode is set with the RB.ShaderSpriteSheetFilterSet method.

Values

Nearest No smoothing, sample from a single nearest texel only
Linear Linear interpolation, pixel color averaged between neighbouring texels

See Docs

Features - Sprite Sheets in Shaders