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

Raylib.Core.Text

Description

Bindings to rtext

Synopsis

High level

unloadFont :: Font -> WindowResources -> IO () Source #

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

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

drawText :: String -> Int -> Int -> Int -> Color -> IO () Source #

Native