OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl_io_gltf_read_options Struct Reference

#include <occtl_io_gltf.h>

Public Attributes

uint32_t struct_version
 
const void * p_next
 
int32_t load_all_scenes
 
int32_t skip_empty_nodes
 
int32_t use_mesh_name_as_fallback
 
int32_t apply_scale
 
int32_t parallel
 
int32_t single_precision
 
int32_t fill_incomplete
 
int32_t memory_limit_mib
 

Detailed Description

Options for occtl_io_gltf_read. Pass NULL for defaults.

Member Data Documentation

◆ apply_scale

int32_t occtl_io_gltf_read_options::apply_scale

1 to apply scale to triangulations; default 1.

◆ fill_incomplete

int32_t occtl_io_gltf_read_options::fill_incomplete

1 to keep partially retrieved data on reader error; default 1.

◆ load_all_scenes

int32_t occtl_io_gltf_read_options::load_all_scenes

1 to load all scenes; default 0.

◆ memory_limit_mib

int32_t occtl_io_gltf_read_options::memory_limit_mib

Memory limit in MiB; -1 uses OCCT default.

◆ p_next

const void* occtl_io_gltf_read_options::p_next

Reserved; set to NULL.

◆ parallel

int32_t occtl_io_gltf_read_options::parallel

1 to enable OCCT parallel read; default 0.

◆ single_precision

int32_t occtl_io_gltf_read_options::single_precision

1 to read vertex data as single precision; default 1.

◆ skip_empty_nodes

int32_t occtl_io_gltf_read_options::skip_empty_nodes

1 to ignore nodes without geometry; default 1.

◆ struct_version

uint32_t occtl_io_gltf_read_options::struct_version

Must be OCCTL_IO_GLTF_READ_OPTIONS_VERSION_1.

◆ use_mesh_name_as_fallback

int32_t occtl_io_gltf_read_options::use_mesh_name_as_fallback

1 to use mesh name when node name is empty; default 1.


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