Magnum/MeshTools/GenerateIndices.h file new in Git master

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 Git master
Actual primitive count for given primitive type and element count.
auto generateLineStripIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for a line strip primitive.
void generateLineStripIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& indices) new in Git master
Create index buffer for a line strip primitive into an existing array.
auto generateLineLoopIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for a line loop primitive.
void generateLineLoopIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& into) new in Git master
Create index buffer for a line loop primitive into an existing array.
auto generateTriangleStripIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for a triangle strip primitive.
void generateTriangleStripIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& into) new in Git master
Create index buffer for a triangle strip primitive into an existing array.
auto generateTriangleFanIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for a triangle fan primitive.
void generateTriangleFanIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& into) new in Git master
Create index buffer for a triangle fan primitive into an existing array.
auto generateIndices(const Trade::MeshData& mesh) -> Trade::MeshData new in Git master
Convert a mesh to plain indexed lines or triangles.
auto generateIndices(Trade::MeshData&& data) -> Trade::MeshData new in Git master
Convert a mesh to plain indexed lines or triangles.