#[no_mangle]
pub unsafe extern "C" fn nstd_gl_state_new(
    window: NSTDWindow,
    descriptor: NSTDGLStateDescriptor
) -> NSTDGLState
Expand description

Creates a new GL state. Parameters: const NSTDWindow window - The window in which the GL state will live in. const NSTDGLStateDescriptor descriptor - Configures the state. Returns: NSTDGLState state - The new GL state.