file
Gradient.hFunction Magnum::
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::Primitives
- Primitive library.
Functions
- auto gradient2D(const Vector2& a, const Color4& colorA, const Vector2& b, const Color4& colorB) -> Trade::MeshData
- 2D square with a gradient
- auto gradient2DHorizontal(const Color4& colorLeft, const Color4& colorRight) -> Trade::MeshData
- 2D square with a horizontal gradient
- auto gradient2DVertical(const Color4& colorBottom, const Color4& colorTop) -> Trade::MeshData
- 2D square with a vertical gradient
- auto gradient3D(const Vector3& a, const Color4& colorA, const Vector3& b, const Color4& colorB) -> Trade::MeshData
- 3D plane with a gradient
- auto gradient3DHorizontal(const Color4& colorLeft, const Color4& colorRight) -> Trade::MeshData
- 3D plane with a horizontal gradient
- auto gradient3DVertical(const Color4& colorBottom, const Color4& colorTop) -> Trade::MeshData
- 3D plane with a vertical gradient