StructPointer<D extends RaylibStruct<D> >.nullable constructor
StructPointer<D extends RaylibStruct<D> >.nullable (
- MemoryPointer<
RType> ? ptr, - StructType<
D> structType
Implementation
factory StructPointer.nullable(
MemoryPointer? ptr,
StructType<D> structType,
) => .new(ptr ?? MemoryPointer.nullptr(), structType);