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

#include <occtl_io_gltf.h>

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_io_gltf_transform_format_t transform_format
 
int32_t force_uv_export
 
int32_t embed_textures_in_glb
 
int32_t merge_faces
 
int32_t split_indices_16
 
int32_t parallel
 

Detailed Description

Options for occtl_io_gltf_write. Pass NULL for defaults.

Member Data Documentation

◆ embed_textures_in_glb

int32_t occtl_io_gltf_write_options::embed_textures_in_glb

1 to embed image textures into GLB; default 1.

◆ force_uv_export

int32_t occtl_io_gltf_write_options::force_uv_export

1 to export UV coordinates without textures.

◆ merge_faces

int32_t occtl_io_gltf_write_options::merge_faces

1 to merge faces within a single part.

◆ p_next

const void* occtl_io_gltf_write_options::p_next

Reserved; set to NULL.

◆ parallel

int32_t occtl_io_gltf_write_options::parallel

Reserved for future OCCT parallel write support; set 0.

◆ split_indices_16

int32_t occtl_io_gltf_write_options::split_indices_16

1 to prefer 16-bit indices while merging faces.

◆ struct_version

uint32_t occtl_io_gltf_write_options::struct_version

Must be OCCTL_IO_GLTF_WRITE_OPTIONS_VERSION_1.

◆ transform_format

occtl_io_gltf_transform_format_t occtl_io_gltf_write_options::transform_format

Transform encoding; default compact.


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