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:

lib/gi-crystal/src/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

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def linear? #

def nearest? #

def trilinear? #