struct property

StructType<GestureEventD> struct
final

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

Implementation

static final StructType<GestureEventD> struct = .new(
  factory: GestureEventD.new,
  layout: .aligned<GestureEventField>({
    .touchAction: RInt(),
    .pointCount:  RInt(),
    .pointId:     RArray(RInt(), BASE_maxTouchPoints),
    .position:    RArray(RStruct(Vector2D.struct), BASE_maxTouchPoints),
  }),
);