[go: up one dir, main page]

GLFWglproc

Type Alias GLFWglproc 

Source
pub type GLFWglproc = Option<unsafe extern "C" fn()>;
Expand description

@brief Client API function pointer type.

Generic function pointer used for returning client API function pointers without forcing a cast from a regular pointer.

@sa @ref context_glext @sa @ref glfwGetProcAddress

@since Added in version 3.0.

@ingroup context

Aliased Type§

pub enum GLFWglproc {
    None,
    Some(unsafe extern "C" fn()),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn())

Some value of type T.