OptionaldriverOne mln_render_driver_kind value. Defaults to
MLN_RENDER_DRIVER_CALLER_GRAPHICS_THREAD.
OptionaldriverWakes the graphics receiver when caller-driver work is available, including work that a finished driver result releases.
OptionalframeWakes the receiver when the frame-result queue becomes nonempty.
OptionalproducerProducer synchronization for acquired texture frames. Defaults to
MLN_GPU_SYNC_CPU_COMPLETE. MLN_GPU_SYNC_OPENGL_FENCE requires a shared
EGL or WGL texture target and a caller-graphics-thread driver. Other
targets support only CPU completion and fail an unsupported request.
OptionalqueueHost lock on the graphics queue, disabled by default. Only Vulkan targets
accept an enabled lock; other backends fail the attach with
MLN_STATUS_UNSUPPORTED.
OptionalrequestedRequested slot count of a session-owned texture ring, from one to
MLN_TEXTURE_RING_MAX_DEPTH. Private targets grant one slot regardless of
this value. A borrowed texture ring's depth is its texture count, so
borrowed and other targets ignore this value. Defaults to 2, so the host
can retain one frame while the session renders its replacement.
Common attachment policy copied before an attach call returns.
See
mln_render_session_attach_optionsin the C API reference.