Mipmap.cubicSample

Cubic filtering mode, using a Catmull-Rom bicubic filter. 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. Reference: https://registry.khronos.org/OpenGL/extensions/IMG/IMG_texture_filter_cubic.txt

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

Meta