Magnum/MeshTools/GenerateIndices.h file new in 2020.06

Function Magnum::MeshTools::primitiveCount(), Magnum::MeshTools::generateTrivialIndices(), Magnum::MeshTools::generateTrivialIndicesInto(), 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()

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 generateTrivialIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in Git master
Create a trivial index buffer.
void generateTrivialIndicesInto(const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
Create a trivial index buffer into an existing array.
auto generateLineStripIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in 2020.06
Create index buffer for a line strip primitive.
auto generateLineStripIndices(const Containers::StridedArrayView1D<const UnsignedInt>& indices) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for an indexed line strip primitive.
auto generateLineStripIndices(const Containers::StridedArrayView1D<const UnsignedShort>& indices) -> Containers::Array<UnsignedInt> new in Git master
auto generateLineStripIndices(const Containers::StridedArrayView1D<const UnsignedByte>& indices) -> Containers::Array<UnsignedInt> new in Git master
auto generateLineStripIndices(const Containers::StridedArrayView2D<const char>& indices) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for a line strip primitive with a type-erased index buffer.
void generateLineStripIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& output) new in 2020.06
Create index buffer for a line strip primitive into an existing array.
void generateLineStripIndicesInto(const Containers::StridedArrayView1D<const UnsignedInt>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
Create index buffer for an indexed line strip primitive into an existing array.
void generateLineStripIndicesInto(const Containers::StridedArrayView1D<const UnsignedShort>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
void generateLineStripIndicesInto(const Containers::StridedArrayView1D<const UnsignedByte>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
void generateLineStripIndicesInto(const Containers::StridedArrayView2D<const char>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
Create index buffer for a line strip primitive with a type-erased index buffer into an existing array.
auto generateLineLoopIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in 2020.06
Create index buffer for a line loop primitive.
auto generateLineLoopIndices(const Containers::StridedArrayView1D<const UnsignedInt>& indices) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for an indexed line loop primitive.
auto generateLineLoopIndices(const Containers::StridedArrayView1D<const UnsignedShort>& indices) -> Containers::Array<UnsignedInt> new in Git master
auto generateLineLoopIndices(const Containers::StridedArrayView1D<const UnsignedByte>& indices) -> Containers::Array<UnsignedInt> new in Git master
auto generateLineLoopIndices(const Containers::StridedArrayView2D<const char>& indices) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for a line loop primitive with a type-erased index buffer.
void generateLineLoopIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& output) new in 2020.06
Create index buffer for a line loop primitive into an existing array.
void generateLineLoopIndicesInto(const Containers::StridedArrayView1D<const UnsignedInt>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
Create index buffer for an indexed line loop primitive into an existing array.
void generateLineLoopIndicesInto(const Containers::StridedArrayView1D<const UnsignedShort>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
void generateLineLoopIndicesInto(const Containers::StridedArrayView1D<const UnsignedByte>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
void generateLineLoopIndicesInto(const Containers::StridedArrayView2D<const char>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
Create index buffer for a line loop primitive with a type-erased index buffer into an existing array.
auto generateTriangleStripIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in 2020.06
Create index buffer for a triangle strip primitive.
auto generateTriangleStripIndices(const Containers::StridedArrayView1D<const UnsignedInt>& indices) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for an indexed triangle strip primitive.
auto generateTriangleStripIndices(const Containers::StridedArrayView1D<const UnsignedShort>& indices) -> Containers::Array<UnsignedInt> new in Git master
auto generateTriangleStripIndices(const Containers::StridedArrayView1D<const UnsignedByte>& indices) -> Containers::Array<UnsignedInt> new in Git master
auto generateTriangleStripIndices(const Containers::StridedArrayView2D<const char>& indices) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for a triangle strip primitive with a type-erased index buffer.
void generateTriangleStripIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& output) new in 2020.06
Create index buffer for a triangle strip primitive into an existing array.
void generateTriangleStripIndicesInto(const Containers::StridedArrayView1D<const UnsignedInt>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
Create index buffer for an indexed triangle strip primitive into an existing array.
void generateTriangleStripIndicesInto(const Containers::StridedArrayView1D<const UnsignedShort>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
void generateTriangleStripIndicesInto(const Containers::StridedArrayView1D<const UnsignedByte>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
void generateTriangleStripIndicesInto(const Containers::StridedArrayView2D<const char>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
Create index buffer for a triangle strip primitive with a type-erased index buffer into an existing array.
auto generateTriangleFanIndices(UnsignedInt vertexCount) -> Containers::Array<UnsignedInt> new in 2020.06
Create index buffer for a triangle fan primitive.
auto generateTriangleFanIndices(const Containers::StridedArrayView1D<const UnsignedInt>& indices) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for an indexed triangle fan primitive.
auto generateTriangleFanIndices(const Containers::StridedArrayView1D<const UnsignedShort>& indices) -> Containers::Array<UnsignedInt> new in Git master
auto generateTriangleFanIndices(const Containers::StridedArrayView1D<const UnsignedByte>& indices) -> Containers::Array<UnsignedInt> new in Git master
auto generateTriangleFanIndices(const Containers::StridedArrayView2D<const char>& indices) -> Containers::Array<UnsignedInt> new in Git master
Create index buffer for a triangle fan primitive with a type-erased index buffer.
void generateTriangleFanIndicesInto(UnsignedInt vertexCount, const Containers::StridedArrayView1D<UnsignedInt>& output) new in 2020.06
Create index buffer for a triangle fan primitive into an existing array.
void generateTriangleFanIndicesInto(const Containers::StridedArrayView1D<const UnsignedInt>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
Create index buffer for an indexed triangle fan primitive into an existing array.
void generateTriangleFanIndicesInto(const Containers::StridedArrayView1D<const UnsignedShort>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
void generateTriangleFanIndicesInto(const Containers::StridedArrayView1D<const UnsignedByte>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
void generateTriangleFanIndicesInto(const Containers::StridedArrayView2D<const char>& indices, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
Create index buffer for a triangle fan primitive with a type-erased index buffer 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.
auto generateQuadIndices(const Containers::StridedArrayView1D<const Vector3>& positions, const Containers::StridedArrayView1D<const UnsignedShort>& quads) -> Containers::Array<UnsignedInt> new in Git master
auto generateQuadIndices(const Containers::StridedArrayView1D<const Vector3>& positions, const Containers::StridedArrayView1D<const UnsignedByte>& quads) -> Containers::Array<UnsignedInt> new in Git master
void generateQuadIndicesInto(const Containers::StridedArrayView1D<const Vector3>& positions, const Containers::StridedArrayView1D<const UnsignedInt>& quads, const Containers::StridedArrayView1D<UnsignedInt>& output) new in Git master
Create a triangle index buffer for quad primitives into an existing array.
void generateQuadIndicesInto(const Containers::StridedArrayView1D<const Vector3>& positions, const Containers::StridedArrayView1D<const UnsignedShort>& quads, const Containers::StridedArrayView1D<UnsignedShort>& output) new in Git master
void generateQuadIndicesInto(const Containers::StridedArrayView1D<const Vector3>& positions, const Containers::StridedArrayView1D<const UnsignedByte>& quads, const Containers::StridedArrayView1D<UnsignedByte>& output) new in Git master
auto generateIndices(const Trade::MeshData& mesh) -> Trade::MeshData new in 2020.06
Convert a mesh to a plain indexed one.
auto generateIndices(Trade::MeshData&& mesh) -> Trade::MeshData new in 2020.06
Convert a mesh to a plain indexed one.