IContext.create

Creates directly, a graphics context object for a specific platform, based on the previously specified graphics context attributes.

interface IContext
@safe
void
create

Parameters

window IWindow

Pointer to the window to create the graphics context.

Throws

$(PHOBREF object,Exception) if the creation of the graphics context was not successful. The attributes were probably not initialized.

Meta