MCPcopy Index your code
hub / github.com/HumbleUI/Skija / SamplingMode

Interface SamplingMode

shared/java/SamplingMode.java:10–20  ·  view source on GitHub ↗

@see io.github.humbleui.skija.FilterMipmap @see io.github.humbleui.skija.CubicResampler

Source from the content-addressed store, hash-verified

8 * @see io.github.humbleui.skija.CubicResampler
9 */
10public interface SamplingMode {
11 public static final SamplingMode DEFAULT = new FilterMipmap(FilterMode.NEAREST, MipmapMode.NONE);
12 public static final SamplingMode LINEAR = new FilterMipmap(FilterMode.LINEAR, MipmapMode.NONE);
13 public static final SamplingMode MITCHELL = new CubicResampler(0.33333334f, 0.33333334f);
14 public static final SamplingMode CATMULL_ROM = new CubicResampler(0, 0.5f);
15
16 // 10 + 30-bit float + 32-bit float: CubicResampler
17 // 01 + 30-bit zeros + 32-bit int: SamplingModeAnisotropic
18 // 00 + 30-bit int + 32-bit int: FilterMipmap
19 @ApiStatus.Internal long _pack();
20}

Callers 8

drawImageRectMethod · 0.65
makeShaderMethod · 0.65
scalePixelsMethod · 0.65
makeShaderMethod · 0.65
scalePixelsMethod · 0.65
makeScaledMethod · 0.65
makeImageMethod · 0.65
makeMagnifierMethod · 0.65

Implementers 3

FilterMipmapshared/java/FilterMipmap.java
CubicResamplershared/java/CubicResampler.java
SamplingModeAnisotropicshared/java/SamplingModeAnisotropic.ja

Calls

no outgoing calls

Tested by

no test coverage detected