Handbook
Glossary
gl-min-filter ( filter mipmap-filter -- gl-filter )
Vocabulary
gpu
.
textures
.
private
Inputs
filter
an
object
mipmap-filter
an
object
Outputs
gl-filter
an
object
Definition
USING:
arrays
combinators
gpu.textures
opengl.gl
;
IN:
gpu.textures.private
:
gl-min-filter
( filter mipmap-filter -- gl-filter )
2array
{
{
{
filter-nearest
f
}
[
GL_NEAREST
]
}
{
{
filter-linear
f
}
[
GL_LINEAR
]
}
{
{
filter-nearest
filter-nearest
}
[
GL_NEAREST_MIPMAP_NEAREST
]
}
{
{
filter-linear
filter-nearest
}
[
GL_LINEAR_MIPMAP_NEAREST
]
}
{
{
filter-linear
filter-linear
}
[
GL_LINEAR_MIPMAP_LINEAR
]
}
{
{
filter-nearest
filter-linear
}
[
GL_NEAREST_MIPMAP_LINEAR
]
}
}
case
;
inline