Sample.h file new in Git master
Function Magnum::
Namespaces
- namespace Magnum new in Git master
- Root namespace.
- namespace Magnum::TextureTools
- Texture tools.
Functions
-
auto sampleLinear(const Containers::
StridedArrayView1D<const Vector3ub>& texture, Float factor) -> Color3 new in Git master - Sample a 1D RGB texture with linear interpolation.
-
auto sampleLinear(const Containers::
StridedArrayView1D<const Vector4ub>& texture, Float factor) -> Color4 new in Git master - Sample a 1D RGBA texture with linear interpolation.
-
auto sampleSrgb(const Containers::
StridedArrayView1D<const Vector3ub>& texture, Float factor) -> Color3 new in Git master - Sample a 1D RGB texture with sRGB interpolation.
-
auto sampleSrgbAlpha(const Containers::
StridedArrayView1D<const Vector4ub>& texture, Float factor) -> Color4 new in Git master - Sample a 1D RGBA texture with sRGB interpolation.