Visual Computing Library
Loading...
Searching...
No Matches
vcl::LoadSettings Struct Reference

The LoadSettings structure contains the settings that can be used to load a mesh from a stream/file. More...

#include <vclib/load_save/settings.h>

Public Attributes

bool enableOptionalComponents = true
 If true, some eventual optional components of the mesh that were not enabled and that can be loaded from the stream/file, will be enabled before loading the stream/file.
 
bool loadTextureImages = false
 If true, and if the Mesh has the TextureImages component, the loading function will try to load the texture images from the paths stored in the TextureImages component. Otherwise, only the paths of the textures will be loaded.
 

Detailed Description

The LoadSettings structure contains the settings that can be used to load a mesh from a stream/file.

Member Data Documentation

◆ enableOptionalComponents

bool vcl::LoadSettings::enableOptionalComponents = true

If true, some eventual optional components of the mesh that were not enabled and that can be loaded from the stream/file, will be enabled before loading the stream/file.

It applies to all the loading functions.

◆ loadTextureImages

bool vcl::LoadSettings::loadTextureImages = false

If true, and if the Mesh has the TextureImages component, the loading function will try to load the texture images from the paths stored in the TextureImages component. Otherwise, only the paths of the textures will be loaded.

It applies to all the loading functions that load from a file format that supports textures.


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