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

#include <occtl_viz.h>

Public Attributes

uint32_t struct_version
 
const void * p_next
 
int32_t width
 
int32_t height
 
void * native_handle
 
int32_t offscreen
 

Detailed Description

Versioned options for occtl_viz_view_create().

Initialize with OCCTL_VIZ_VIEW_OPTIONS_INIT or occtl_viz_view_options_init() before use.

\par Thread Safety Yes.

See also
occtl_viz_view_options_init

Member Data Documentation

◆ height

int32_t occtl_viz_view_options::height

View height in pixels. Must be positive.

◆ native_handle

void* occtl_viz_view_options::native_handle

Borrowed native window/view handle; NULL for offscreen.

◆ offscreen

int32_t occtl_viz_view_options::offscreen

0/1; non-zero creates an offscreen-capable neutral view.

◆ p_next

const void* occtl_viz_view_options::p_next

Reserved for extensions; must be NULL.

◆ struct_version

uint32_t occtl_viz_view_options::struct_version

Must be OCCTL_VIZ_VIEW_OPTIONS_VERSION_1.

◆ width

int32_t occtl_viz_view_options::width

View width in pixels. Must be positive.


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