Loading...
Searching...
No Matches

Connection between two score::gfx::Port. More...

Detailed Description

Connection between two score::gfx::Port.

Public Member Functions

 Edge (Port *source, Port *sink, Process::CableType t)
 

Public Attributes

Port * source {}
 
Port * sink {}
 
Process::CableType type {}
 

Static Public Attributes

static std::atomic< uint64_t > generation {0}
 

Constructor & Destructor Documentation

◆ Edge()

score::gfx::Edge::Edge ( Port *  source,
Port *  sink,
Process::CableType  t 
)

The sink port keeps its edges ordered by source (node id, output index), sources in the transparent QUEUE last: several cables into one input are drawn, and composited, in that order.

Member Data Documentation

◆ generation

std::atomic<uint64_t> score::gfx::Edge::generation {0}
inlinestatic

Bumped whenever an edge is created or destroyed: lets per-frame code cache what it derives from the graph's connectivity.


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