Module dagon.resource.gltf.meshprimitive

GLTF mesh primitive.

Description

The dagon.resource.gltf.meshprimitive module defines the GLTFMeshPrimitive class, which represents a single mesh primitive in a GLTF mesh. This class manages accessors for vertex attributes (positions, normals, texcoords, joints, weights, indices), OpenGL buffer and VAO creation, and rendering logic. Mesh primitives are used to draw geometry with a specific material and attribute layout, supporting both indexed and non-indexed rendering.

Classes

NameDescription
GLTFMeshPrimitive Represents a single mesh primitive in a GLTF mesh.