pub fn calculate_dmx_values(
universe_count: usize,
fixture_list: &[Fixture],
) -> Vec<[u8; 512]>Expand description
Collects values from all registered fixtures via their channel and color properties.
Returns one array per universe, where each index corresponds to a DMX channel and the value is the 8-bit DMX level.
§Arguments
universe_count- Total number of universes to calculate values forfixture_list- Slice of active fixtures to process
§Panics
Panics if a fixture has a channel that exceeds MAX_CHANNEL. WHO THE FUCK GOT THE IDEA THAT DMX_UNIVERSES SHOULD
HAVE 512 !!!!! 512 Channels? Why?!?!?! Just because of 1 Bit we have to use u16 instead of u8! WHY!?!?!?!