struct property

StructType<BoneInfo> struct
final

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

Implementation

static final StructType<BoneInfo> struct = ._builtin(
  factory: BoneInfo.new,
  layout: .aligned<BoneInfoField>({
    .name:   RArray(RChar(), BASE_nameLength), // Bone name
    .parent: RInt(), // Bone parent
  }),
);