pointerStruct<T extends RaylibStruct<T> > method
Creates a pointer-to-struct field for f.
The field represents a C-style T* pointer to a nested struct.
Implementation
StructPointerValueField<T, RStruct> pointerStruct<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);
}