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

Raylib.Core.Models

Description

Bindings to rmodels

Synopsis

High level

drawRay :: Ray -> Color -> IO () Source #

drawGrid :: Int -> Float -> IO () Source #

loadModelFromMesh :: Mesh -> IO Model Source #

Use loadModelFromMeshManaged for a resource-managed version

unloadModel :: Model -> WindowResources -> IO () Source #

Unloads a managed model from GPU memory (VRAM)

updateMeshBuffer :: Mesh -> Int -> Ptr () -> Int -> Int -> IO () Source #

unloadMesh :: Mesh -> WindowResources -> IO () Source #

Unloads a managed mesh from GPU memory (VRAM)

unloadMaterial :: Material -> WindowResources -> IO () Source #

Unloads a managed material from GPU memory (VRAM)

Native

c'updateMeshBuffer :: Ptr Mesh -> CInt -> Ptr () -> CInt -> CInt -> IO () Source #