struct
Square2D square
Contents
- Reference
Public types
- using TextureCoords = SquareTextureCoords deprecated
- Whether to generate square texture coordinates.
Public static functions
-
static auto solid(SquareTextureCoords textureCoords = SquareTextureCoords::
DontGenerate) -> Trade:: MeshData2D deprecated - Solid 2D square.
-
static auto wireframe() -> Trade::
MeshData2D deprecated - Wireframe 2D square.
Typedef documentation
typedef SquareTextureCoords Magnum:: Primitives:: Square:: TextureCoords
Whether to generate square texture coordinates.
Function documentation
static Trade:: MeshData2D Magnum:: Primitives:: Square:: solid(SquareTextureCoords textureCoords = SquareTextureCoords:: DontGenerate)
Solid 2D square.
static Trade:: MeshData2D Magnum:: Primitives:: Square:: wireframe()
Wireframe 2D square.