TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::PropertyEndpoint Struct Reference

A property on a node. Default-constructed is invalid: in a socket it means "present, unwired". More...

#include <gui_controls/gui_node_view_types.h>

Public Member Functions

bool valid () const
 True when both indices are set.
bool operator== (const PropertyEndpoint &) const =default

Public Attributes

int nodeIdx = -1
 index into NodeView::nodes
int propIdx = -1
 index into that node's properties

Detailed Description

A property on a node. Default-constructed is invalid: in a socket it means "present, unwired".

Member Function Documentation

◆ valid()

bool tachyon::PropertyEndpoint::valid ( ) const
inline

True when both indices are set.

◆ operator==()

bool tachyon::PropertyEndpoint::operator== ( const PropertyEndpoint & ) const
default

Member Data Documentation

◆ nodeIdx

int tachyon::PropertyEndpoint::nodeIdx = -1

index into NodeView::nodes

◆ propIdx

int tachyon::PropertyEndpoint::propIdx = -1

index into that node's properties


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