Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Ecs::MeshPrimitive Struct Reference

#include <EcsData.h>

Collaboration diagram for Ecs::MeshPrimitive:

Public Attributes

std::optional< PrimitiveDatadata = std::nullopt
std::optional< MeshletDatameshletData = std::nullopt
std::optional< UnpackedMeshletDataunpackedData = std::nullopt
 Pre-unpacked GPU-ready data.
std::optional< LodHierarchyResultlodHierarchy = std::nullopt
 LOD hierarchy (if generated)
Ecs::BoundingSphere boundingSphere
Asset::Path materialPath
 Reference to MaterialAsset for pipeline lookup.

Detailed Description

Definition at line 273 of file EcsData.h.

Member Data Documentation

◆ boundingSphere

◆ data

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

Definition at line 274 of file EcsData.h.

◆ lodHierarchy

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

LOD hierarchy (if generated)

Definition at line 277 of file EcsData.h.

Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().

◆ materialPath

Asset::Path Ecs::MeshPrimitive::materialPath

Reference to MaterialAsset for pipeline lookup.

Definition at line 279 of file EcsData.h.

Referenced by EngineCore::RenderingDataManager::updatePrimitiveData(), and EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().

◆ meshletData

◆ unpackedData

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

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