@new


Description:

public static ModelReader @new (owned ModelReaderFunc reader_func)

Create a new ModelReader with the given parameters.

This call will zero the out_reader struct.

Parameters:

reader_func

The ModelReaderFunc to use for the reader

destroy

The DestroyNotify to call on userdata when disposing of the reader

out_reader

A pointer to an uninitialized ModelReader struct

userdata

The user data to pass to reader_func