enum Gsk::ScalingFilter

Overview

The filters used when scaling texture data.

The actual implementation of each filter is deferred to the rendering pipeline.

Defined in:

auto/gsk-4.0/gsk.cr

Enum Members

Linear = 0_u32

linear interpolation filter

Nearest = 1_u32

nearest neighbor interpolation filter

Trilinear = 2_u32

linear interpolation along each axis, plus mipmap generation, with linear interpolation along the mipmap levels

Instance Method Summary

Instance Method Detail

def linear? #

def nearest? #

def trilinear? #