-
Cast constructor, converting any binary integer to a
MaterialFilter.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
Measuring in manhatten distance from the, current pixel center, use the nearest texture texel
Declaration
Swift
static let nearest: CoglMaterialFilter -
Use the weighted average of the 4 texels nearest the current pixel center
Declaration
Swift
static let linear: CoglMaterialFilter -
Select the mimap level whose texel size most closely matches the current pixel, and use the
COGL_MATERIAL_FILTER_NEARESTcriterionDeclaration
Swift
static let nearestMipmapNearest: CoglMaterialFilter -
Select the mimap level whose texel size most closely matches the current pixel, and use the
COGL_MATERIAL_FILTER_LINEARcriterionDeclaration
Swift
static let linearMipmapNearest: CoglMaterialFilter -
Select the two mimap levels whose texel size most closely matches the current pixel, use the
COGL_MATERIAL_FILTER_NEARESTcriterion on each one and take their weighted averageDeclaration
Swift
static let nearestMipmapLinear: CoglMaterialFilter -
Select the two mimap levels whose texel size most closely matches the current pixel, use the
COGL_MATERIAL_FILTER_LINEARcriterion on each one and take their weighted averageDeclaration
Swift
static let linearMipmapLinear: CoglMaterialFilter
View on GitHub
Install in Dash
MaterialFilter Extension Reference