Skip to main content

Module fixture

Module fixture 

Source

Structs§

ArtnetDMXAddress
A DMX address: a universe and a channel in it. Derived from the patch (see Patch::addresses), which keeps the universe at most MAX_UNIVERSE and the channel inside the universe.
Fixture
An instance of a fixture definition. Its address is derived from the topology, and its position from whichever layout it is looked up in, so neither is stored here.
FixtureId
LayoutPosition
Where a fixture sits inside one layout. Every layout keeps its own position per fixture, so a layout may arrange fixtures however it likes.

Constants§

CHANNELS_PER_LAMP
Channels of one lamp: gled renders RGB triples.
CHANNELS_PER_UNIVERSE
Channels addressable in one DMX universe. gled-gpu checks at compile time that its output buffer holds the same number per universe, so derived addresses and the DMX packing cannot drift apart.
LAMPS_PER_UNIVERSE
Whole lamps in one universe; its last two channels stay unused.
MAX_UNIVERSE
The highest universe a fixture can be addressed in: the highest Art-Net port address, which has 15 bits (net, sub-net and universe).
UNITS_PER_METRE
One scene unit is one centimetre, so the 2000-unit scene covers 20 x 20 m.