Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::RenderingDataManager::GeometryCacheKey Struct Reference

Key for geometry cache - uniquely identifies a primitive within a mesh. Uses MeshAsset pointer and primitive index since the same MeshAsset can have multiple primitives. More...

Collaboration diagram for EngineCore::RenderingDataManager::GeometryCacheKey:

Public Member Functions

bool operator== (const GeometryCacheKey &other) const

Public Attributes

MeshAssetmeshAsset
uint32_t primitiveIndex

Detailed Description

Key for geometry cache - uniquely identifies a primitive within a mesh. Uses MeshAsset pointer and primitive index since the same MeshAsset can have multiple primitives.

Definition at line 491 of file RenderingDataManager.h.

Member Function Documentation

◆ operator==()

bool EngineCore::RenderingDataManager::GeometryCacheKey::operator== ( const GeometryCacheKey & other) const
inline

Definition at line 496 of file RenderingDataManager.h.

References meshAsset, and primitiveIndex.

Member Data Documentation

◆ meshAsset

MeshAsset* EngineCore::RenderingDataManager::GeometryCacheKey::meshAsset

◆ primitiveIndex

uint32_t EngineCore::RenderingDataManager::GeometryCacheKey::primitiveIndex

The documentation for this struct was generated from the following file: