pointerStructArray<T extends RaylibStruct<T> > method
Creates a variable-length struct pointer array field for f.
The field represents a C-style T* pointing to a sequence of nested
structs whose element count is determined externally.
Implementation
StructPointerArrayField<T, RStruct> pointerStructArray<T extends RaylibStruct<T>>(F f) {
_checkField(f);
final type = _getFieldAs<RPointer<RStruct>>(f);
final structCodec = StructCodec<T>(type.target);
final pointerCodec = PointerCodec(type, structCodec);
return .new(offset(f), pointerCodec);
}