SFML-2.3.2.2: SFML bindings

Safe HaskellSafe-Inferred
LanguageHaskell98

SFML.Window.Context

Synopsis

Documentation

createContext :: IO Context Source

Create a new context.

This function activates the new context.

destroy :: SFResource a => a -> IO () Source

Destroy the given SFML resource.

setActiveContext :: Context -> Bool -> IO () Source

Activate or deactivate explicitely a context.