molecular
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
molecular::gfx::MeshBoundsCollectionFile Struct Reference

File format for collection of bounding boxes. More...

#include <MeshBoundsCollectionFile.h>

Public Member Functions

const util::AxisAlignedBoxGetBoundsByIndex (unsigned int index) const
 
const util::AxisAlignedBoxGetBounds (Hash mesh) const
 

Public Attributes

uint32_t magic
 
uint32_t count
 
uint32_t hashes [0]
 

Static Public Attributes

static const uint32_t kMagic = 0x505eb0f1
 

Detailed Description

File format for collection of bounding boxes.

Associates hash values to bounding boxes. Used to determine if meshes are in view and have to be loaded.

Member Function Documentation

const util::AxisAlignedBox& molecular::gfx::MeshBoundsCollectionFile::GetBounds ( Hash  mesh) const
inline
const util::AxisAlignedBox& molecular::gfx::MeshBoundsCollectionFile::GetBoundsByIndex ( unsigned int  index) const
inline

Member Data Documentation

uint32_t molecular::gfx::MeshBoundsCollectionFile::count
uint32_t molecular::gfx::MeshBoundsCollectionFile::hashes[0]
const uint32_t molecular::gfx::MeshBoundsCollectionFile::kMagic = 0x505eb0f1
static
uint32_t molecular::gfx::MeshBoundsCollectionFile::magic

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