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

#include <occtl_topo_build.h>

Public Attributes

float r
 
float g
 
float b
 
float a
 

Detailed Description

RGBA colour value for use with graph annotation functions.

Each channel is in the range [0.0f, 1.0f]. The alpha channel follows the OpenGL convention: 1.0f is opaque, 0.0f is fully transparent.

This is a plain-data struct; no struct_version is needed.

Member Data Documentation

◆ a

float occtl_color_rgba::a

Alpha channel, [0.0f, 1.0f]. Opaque by default.

◆ b

float occtl_color_rgba::b

Blue channel, [0.0f, 1.0f].

◆ g

float occtl_color_rgba::g

Green channel, [0.0f, 1.0f].

◆ r

float occtl_color_rgba::r

Red channel, [0.0f, 1.0f].


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