h-raylib-4.5.3.2: Raylib bindings for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Raylib.Core

Synopsis

Documentation

initWindow :: Int -> Int -> String -> IO () Source #

beginScissorMode :: Int -> Int -> Int -> Int -> IO () Source #

unloadShader :: Shader -> IO () Source #

Unloads a shader from GPU memory (VRAM). Shaders are automatically unloaded when closeWindow is called, so manually unloading shaders is not required. In larger projects, you may want to manually unload shaders to avoid having them in VRAM for too long.