Function nstd::gl::nstd_gl_state_new
source · [−]#[no_mangle]
pub unsafe extern "C" fn nstd_gl_state_new(
window: NSTDWindow,
descriptor: NSTDGLStateDescriptor
) -> NSTDGLStateExpand 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.