Skip to main content

ProcAddressFn

Type Alias ProcAddressFn 

Source
pub type ProcAddressFn = Box<dyn FnMut(&str) -> *mut c_void + Send + 'static>;
Expand description

Resolves GL symbols for mpv. Called during context creation (and possibly later render calls), so it must stay alive for the context’s lifetime — rsmpv keeps it boxed inside the context.

Aliased Type§

pub struct ProcAddressFn(/* private fields */);