Foundation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GeometryHandle Struct Reference

Opaque, generation-tagged reference to GPUScene-owned geometry residency. More...

#include <GPUScene.hpp>

Public Member Functions

bool IsValid () const
 

Public Attributes

uint32_t index {~0u}
 
uint32_t generation {0}
 

Detailed Description

Opaque, generation-tagged reference to GPUScene-owned geometry residency.

Note
CPU-only (never uploaded to the GPU). The generation slot catches use of a freed or recycled handle (GPUScene::Collect).

Member Function Documentation

◆ IsValid()

bool GeometryHandle::IsValid ( ) const
inline

Member Data Documentation

◆ generation

uint32_t GeometryHandle::generation {0}

◆ index

uint32_t GeometryHandle::index {~0u}

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