Visual Computing Library
|
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. | |
The LoadSettings structure contains the settings that can be used to load a mesh from a stream/file.
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.
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.