Skip to main content

types Namespace

Definition

namespace helios::engine::rendering::mesh::types { ... }

Classes Index

structMeshConfig

Rendering metadata that defines how mesh buffers are interpreted. More...

structMeshData

Raw mesh data container used by mesh registries and render backends. More...

structMeshDomainTag

Domain tag for mesh identity and handles. More...

Typedefs Index

usingMeshDataIndex = std::size_t

Zero-based index into mesh data containers. More...

usingMeshHandle = helios::ecs::types::EntityHandle< MeshDomainTag >

Handle type used to reference mesh entities. More...

usingMeshId = helios::ecs::types::StrongId< MeshDomainTag >

Strongly-typed identifier for mesh resources. More...

Enumerations Index

enum classPrimitiveType { ... }

Defines how vertices are assembled into primitives during rendering. More...

Typedefs

MeshDataIndex

using helios::engine::rendering::mesh::types::MeshDataIndex = typedef std::size_t

Zero-based index into mesh data containers.

Definition at line 17 of file MeshDataIndex.ixx.

17 using MeshDataIndex = std::size_t;

MeshHandle

using helios::engine::rendering::mesh::types::MeshHandle = typedef helios::ecs::types::EntityHandle<MeshDomainTag>

Handle type used to reference mesh entities.

Definition at line 18 of file MeshHandle.ixx.

18 using MeshHandle = helios::ecs::types::EntityHandle<MeshDomainTag>;

MeshId

using helios::engine::rendering::mesh::types::MeshId = typedef helios::ecs::types::StrongId<MeshDomainTag>

Strongly-typed identifier for mesh resources.

Definition at line 17 of file MeshId.ixx.

17 using MeshId = helios::ecs::types::StrongId<MeshDomainTag>;

Enumerations

PrimitiveType

enum class helios::engine::rendering::mesh::types::PrimitiveType
strong

Defines how vertices are assembled into primitives during rendering.

Enumeration values
Points
Lines
LineLoop
LineStrip
Triangles
TriangleStrip
TriangleFan
size_Sentinel value equal to the number of primitive types

This enum provides API-agnostic representations for common primitive assembly modes (points, lines, triangles, and their strip/fan variants). Backends should map these values to the corresponding native topology constants.

Example (pseudo-code mapping to OpenGL):

 switch (primitiveType) {
  default: // unreachable return GL_TRIANGLES;
 }
See Also

MeshConfig (default is PrimitiveType::Triangles)

Definition at line 36 of file PrimitiveType.ixx.

36 enum class PrimitiveType {
40 Points,
41
45 Lines,
46
51
56
61
66
71
76 };

The documentation for this namespace was generated from the following files:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.