Mipmap.linearSample

Interpolates a color. Integer level, spatial linear interpolation. x and y are in base level coordinates (top-left pixel is on (0.5, 0.5) coordinates). Clamped to borders.

class Mipmap(COLOR)
nothrow @nogc nothrow @nogc
linearSample
(
int level
,
float x
,
float y
)
if (
is(COLOR == RGBA) ||
is(COLOR == L16)
||
is(COLOR == RGBA16)
)

Meta