Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Ecs::MeshPrimitive Struct Reference

Runtime mesh primitive data consumed by the renderer. More...

#include <EcsData.h>

Collaboration diagram for Engine::Ecs::MeshPrimitive:

Public Attributes

std::optional< PrimitiveData > data = std::nullopt
 Optimized CPU geometry.
std::optional< MeshletData > meshletData = std::nullopt
 Meshlet descriptors for mesh shaders.
std::optional< UnpackedMeshletData > unpackedData = std::nullopt
 Pre-expanded meshlet data.
std::optional< LodHierarchyResult > lodHierarchy = std::nullopt
 Generated LOD hierarchy.
Ecs::BoundingSphere boundingSphere
 Local-space primitive bounds.
Engine::Assets::MaterialHandle material
 Material asset handle assigned to this primitive.
Asset::MeshPath materialPath
 Material path used for pipeline and material-buffer lookup.

Detailed Description

Runtime mesh primitive data consumed by the renderer.

Definition at line 431 of file EcsData.h.

Member Data Documentation

◆ boundingSphere

Ecs::BoundingSphere Engine::Ecs::MeshPrimitive::boundingSphere

Local-space primitive bounds.

Definition at line 436 of file EcsData.h.

◆ data

std::optional<PrimitiveData> Engine::Ecs::MeshPrimitive::data = std::nullopt

Optimized CPU geometry.

Definition at line 432 of file EcsData.h.

◆ lodHierarchy

std::optional<LodHierarchyResult> Engine::Ecs::MeshPrimitive::lodHierarchy = std::nullopt

Generated LOD hierarchy.

Definition at line 435 of file EcsData.h.

◆ material

Engine::Assets::MaterialHandle Engine::Ecs::MeshPrimitive::material

Material asset handle assigned to this primitive.

Definition at line 437 of file EcsData.h.

◆ materialPath

Asset::MeshPath Engine::Ecs::MeshPrimitive::materialPath

Material path used for pipeline and material-buffer lookup.

Definition at line 438 of file EcsData.h.

◆ meshletData

std::optional<MeshletData> Engine::Ecs::MeshPrimitive::meshletData = std::nullopt

Meshlet descriptors for mesh shaders.

Definition at line 433 of file EcsData.h.

◆ unpackedData

std::optional<UnpackedMeshletData> Engine::Ecs::MeshPrimitive::unpackedData = std::nullopt

Pre-expanded meshlet data.

Definition at line 434 of file EcsData.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Ecs/EcsData.h