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

Raylib.Types.Core

Description

Bindings for types used in all raylib modules

Synopsis

Enumerations

data KeyboardKey Source #

data GamepadButton Source #

Structures

pattern Vector2 :: Float -> Float -> Vector2 Source #

pattern Vector3 :: Float -> Float -> Float -> Vector3 Source #

pattern Vector4 :: a -> a -> a -> a -> V4 a Source #

vector4'x :: V4 a -> a Source #

vector4'y :: V4 a -> a Source #

vector4'z :: V4 a -> a Source #

vector4'w :: V4 a -> a Source #

data Matrix Source #

Instances

Instances details
Storable Matrix Source # 
Instance details

Defined in Raylib.Types.Core

Show Matrix Source # 
Instance details

Defined in Raylib.Types.Core

Eq Matrix Source # 
Instance details

Defined in Raylib.Types.Core

Methods

(==) :: Matrix -> Matrix -> Bool #

(/=) :: Matrix -> Matrix -> Bool #

Freeable Matrix Source # 
Instance details

Defined in Raylib.Types.Core

data Color Source #

Constructors

Color 

Instances

Instances details
Storable Color Source # 
Instance details

Defined in Raylib.Types.Core

Methods

sizeOf :: Color -> Int #

alignment :: Color -> Int #

peekElemOff :: Ptr Color -> Int -> IO Color #

pokeElemOff :: Ptr Color -> Int -> Color -> IO () #

peekByteOff :: Ptr b -> Int -> IO Color #

pokeByteOff :: Ptr b -> Int -> Color -> IO () #

peek :: Ptr Color -> IO Color #

poke :: Ptr Color -> Color -> IO () #

Show Color Source # 
Instance details

Defined in Raylib.Types.Core

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

Eq Color Source # 
Instance details

Defined in Raylib.Types.Core

Methods

(==) :: Color -> Color -> Bool #

(/=) :: Color -> Color -> Bool #

Freeable Color Source # 
Instance details

Defined in Raylib.Types.Core

data VrStereoConfig Source #

data AutomationEventList Source #

Pointer utilities

Callbacks