Cogs.Core
Public Attributes | List of all members
Cogs::Core::Volumetric::NodeBlock Struct Reference

Representing a block or node in the oct-tree. More...

#include <OctSystem.h>

Public Attributes

uint64_t ix
 
uint32_t timestamp
 Timestamp of the most recent adding of a region in the tree below.
 
glm::u16vec4 ix4
 Oct-tree index, base level is baseblock ix3 minus alignMinToZeroShift.
 
glm::u16vec3 extentMin
 
glm::u16vec3 extentMax
 
union {
   uint32_t   children [8]
 
   OctBaseBlock *   baseBlock
 
}; 
 

Detailed Description

Representing a block or node in the oct-tree.

Definition at line 48 of file OctSystem.h.

Member Data Documentation

◆ baseBlock

OctBaseBlock* Cogs::Core::Volumetric::NodeBlock::baseBlock

Definition at line 57 of file OctSystem.h.

◆ children

uint32_t Cogs::Core::Volumetric::NodeBlock::children[8]

Definition at line 56 of file OctSystem.h.

◆ extentMax

glm::u16vec3 Cogs::Core::Volumetric::NodeBlock::extentMax

Definition at line 54 of file OctSystem.h.

◆ extentMin

glm::u16vec3 Cogs::Core::Volumetric::NodeBlock::extentMin

Definition at line 53 of file OctSystem.h.

◆ ix

uint64_t Cogs::Core::Volumetric::NodeBlock::ix

Definition at line 50 of file OctSystem.h.

◆ ix4

glm::u16vec4 Cogs::Core::Volumetric::NodeBlock::ix4

Oct-tree index, base level is baseblock ix3 minus alignMinToZeroShift.

Definition at line 52 of file OctSystem.h.

◆ timestamp

uint32_t Cogs::Core::Volumetric::NodeBlock::timestamp

Timestamp of the most recent adding of a region in the tree below.

Definition at line 51 of file OctSystem.h.


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