struct property

Describes the raw memory layout, construction, and pointer representation of this struct type.

Implementation

static final StructType<AutomationEventD> struct = .new(
  factory: AutomationEventD.new,
  layout: .aligned<AutomationEventField>({
    .frame:  RUnsignedInt(), // Event frame
    .type:   RUnsignedInt(), // Event type (AutomationEventType)
    .params: RArray(RInt(), BASE_paramsCount), // Event parameters (if required)
  }),
);