Magnum/Primitives/Square.h file

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

Contents

Namespaces

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

Classes

struct Magnum::Primitives::Square deprecated
2D square

Enums

enum class SquareTextureCoords: UnsignedByte { DontGenerate, Generate }
Whether to generate square texture coordinates.

Functions

auto squareSolid(SquareTextureCoords textureCoords = SquareTextureCoords::DontGenerate) -> Trade::MeshData2D
Solid 2D square.
auto squareWireframe() -> Trade::MeshData2D
Wireframe 2D square.