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)
public nothrow @nogc nothrow @nogc
linearSample
(
int level
,
float x
,
float y
)
if (
is(COLOR == RGBA) ||
is(COLOR == L16)
)

Meta