Magnum/MeshTools/GenerateIndices.h file new in 2020.06

Function Magnum::MeshTools::primitiveCount(), Magnum::MeshTools::generateLineStripIndices(), Magnum::MeshTools::generateLineStripIndicesInto(), Magnum::MeshTools::generateLineLoopIndices(), Magnum::MeshTools::generateLineLoopIndicesInto(), Magnum::MeshTools::generateTriangleStripIndices(), Magnum::MeshTools::generateTriangleStripIndicesInto(), Magnum::MeshTools::generateTriangleFanIndices(), Magnum::MeshTools::generateTriangleFanIndicesInto(), Magnum::MeshTools::generateIndices()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::MeshTools
Mesh tools.

Functions

auto primitiveCount(MeshPrimitive primitive, UnsignedInt elementCount) -> UnsignedInt new in 2020.06
Actual primitive count for given primitive type and element count.
auto generateLineStripIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in 2020.06
Create index buffer for a line strip primitive.
void generateLineStripIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& indices) new in 2020.06
Create index buffer for a line strip primitive into an existing array.
auto generateLineLoopIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in 2020.06
Create index buffer for a line loop primitive.
void generateLineLoopIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& into) new in 2020.06
Create index buffer for a line loop primitive into an existing array.
auto generateTriangleStripIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in 2020.06
Create index buffer for a triangle strip primitive.
void generateTriangleStripIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& into) new in 2020.06
Create index buffer for a triangle strip primitive into an existing array.
auto generateTriangleFanIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in 2020.06
Create index buffer for a triangle fan primitive.
void generateTriangleFanIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& into) new in 2020.06
Create index buffer for a triangle fan primitive into an existing array.
auto generateQuadIndices(const Containers::StridedArrayView1D<const Vector3>& positions, const Containers::StridedArrayView1D<const UnsignedInt>& quads) -> Containers::Array<UnsignedInt> new in Git master
Create a triangle index buffer for quad primitives.
void generateQuadIndicesInto(const Containers::StridedArrayView1D<const Vector3>& positions, const Containers::StridedArrayView1D<const UnsignedInt>& quads, const Containers::StridedArrayView1D<UnsignedInt>& into) new in Git master
Create a triangle index buffer for quad primitives into an existing array.
auto generateIndices(const Trade::MeshData& mesh) -> Trade::MeshData new in 2020.06
Convert a mesh to plain indexed lines or triangles.
auto generateIndices(Trade::MeshData&& data) -> Trade::MeshData new in 2020.06
Convert a mesh to plain indexed lines or triangles.