Magnum/Primitives/Square.h file

Function Magnum::Primitives::squareSolid(), Magnum::Primitives::squareWireframe()

Namespaces

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

Enums

enum class SquareFlag: UnsignedByte { TextureCoordinates = 1 << 0 } new in 2020.06
Square flag.
enum class SquareTextureCoords: UnsignedByte { DontGenerate, Generate } deprecated in 2020.06
Whether to generate square texture coordinates.

Typedefs

using SquareFlags = Containers::EnumSet<SquareFlag> new in 2020.06
Square flags.

Functions

auto squareSolid(SquareFlags flags = {}) -> Trade::MeshData new in 2020.06
Solid 2D square.
auto squareSolid(SquareTextureCoords textureCoords) -> Trade::MeshData deprecated in 2020.06
Solid 3D plane.
auto squareWireframe() -> Trade::MeshData
Wireframe 2D square.