Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::PlyIOConfig Struct Referencefinal

#include <PlyFile.h>

Public Attributes

bool bIgnoreComments = true
 
bool bPreloadIntoMemory = true
 
std::size_t preloadMemoryThreshold = 1 * math::constant::GiB
 
std::size_t reduceStorageMemoryThreshold = 768 * math::constant::MiB
 

Member Data Documentation

◆ bIgnoreComments

bool ph::PlyIOConfig::bIgnoreComments = true

Whether to load/save comments in the file.

◆ bPreloadIntoMemory

bool ph::PlyIOConfig::bPreloadIntoMemory = true

Preload the file into memory to increase parsing performance.

◆ preloadMemoryThreshold

std::size_t ph::PlyIOConfig::preloadMemoryThreshold = 1 * math::constant::GiB

Only preload files with size smaller than the threshold.

◆ reduceStorageMemoryThreshold

std::size_t ph::PlyIOConfig::reduceStorageMemoryThreshold = 768 * math::constant::MiB

Reduce memory used for storage by the PlyFile class for files with size larger than the threshold.


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