h-raylib-5.5.1.0: Raylib bindings for Haskell
Safe HaskellNone
LanguageHaskell2010

Raylib.Types.Core.Textures

Description

Bindings for types used mainly in rtextures

Synopsis

Enumerations

data PixelFormat Source #

Structures

data Image Source #

Instances

Instances details
Storable Image Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Methods

sizeOf :: Image -> Int

alignment :: Image -> Int

peekElemOff :: Ptr Image -> Int -> IO Image

pokeElemOff :: Ptr Image -> Int -> Image -> IO ()

peekByteOff :: Ptr b -> Int -> IO Image

pokeByteOff :: Ptr b -> Int -> Image -> IO ()

peek :: Ptr Image -> IO Image

poke :: Ptr Image -> Image -> IO ()

Show Image Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Methods

showsPrec :: Int -> Image -> ShowS

show :: Image -> String

showList :: [Image] -> ShowS

Eq Image Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Methods

(==) :: Image -> Image -> Bool

(/=) :: Image -> Image -> Bool

Freeable Image Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Methods

rlFreeDependents :: Image -> Ptr Image -> IO () Source #

rlFree :: Image -> Ptr Image -> IO () Source #

data Texture Source #

Instances

Instances details
Storable Texture Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Methods

sizeOf :: Texture -> Int

alignment :: Texture -> Int

peekElemOff :: Ptr Texture -> Int -> IO Texture

pokeElemOff :: Ptr Texture -> Int -> Texture -> IO ()

peekByteOff :: Ptr b -> Int -> IO Texture

pokeByteOff :: Ptr b -> Int -> Texture -> IO ()

peek :: Ptr Texture -> IO Texture

poke :: Ptr Texture -> Texture -> IO ()

Show Texture Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Methods

showsPrec :: Int -> Texture -> ShowS

show :: Texture -> String

showList :: [Texture] -> ShowS

Eq Texture Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Methods

(==) :: Texture -> Texture -> Bool

(/=) :: Texture -> Texture -> Bool

Closeable Texture Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Freeable Texture Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Methods

rlFreeDependents :: Texture -> Ptr Texture -> IO () Source #

rlFree :: Texture -> Ptr Texture -> IO () Source #

data NPatchInfo Source #

Instances

Instances details
Storable NPatchInfo Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Show NPatchInfo Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Methods

showsPrec :: Int -> NPatchInfo -> ShowS

show :: NPatchInfo -> String

showList :: [NPatchInfo] -> ShowS

Eq NPatchInfo Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Methods

(==) :: NPatchInfo -> NPatchInfo -> Bool

(/=) :: NPatchInfo -> NPatchInfo -> Bool

Freeable NPatchInfo Source # 
Instance details

Defined in Raylib.Types.Core.Textures

Pointer utilities