Magnum/Primitives/Plane.h file

Function Magnum::Primitives::planeSolid(), Magnum::Primitives::planeWireframe()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Primitives
Primitive library.

Enums

enum class PlaneFlag: UnsignedByte { TextureCoordinates = 1 << 0, Tangents = 1 << 1 new in 2020.06 } new in 2020.06
Plane flag.
enum class PlaneTextureCoords: UnsignedByte { DontGenerate, Generate } deprecated in 2020.06
Whether to generate plane texture coordinates.

Typedefs

using PlaneFlags = Containers::EnumSet<PlaneFlag> new in 2020.06
Plane flags.

Functions

auto planeSolid(PlaneFlags flags) -> Trade::MeshData new in 2020.06
Solid 3D plane.
auto planeSolid(PlaneTextureCoords textureCoords) -> Trade::MeshData deprecated in 2020.06
Solid 3D plane.
auto planeWireframe() -> Trade::MeshData
Wireframe 3D plane.