gpu-vulkan-core-0.1.0.13: Thin wrapper for Vulkan API
Safe HaskellNone
LanguageHaskell2010

Gpu.Vulkan.Memory.Core

Synopsis

ALLOCATE AND FREE

free :: D -> M -> Ptr A -> IO () Source #

type M = Ptr MTag Source #

MAP AND UNMAP

map :: D -> M -> Word64 -> Word64 -> Word32 -> Ptr (Ptr a) -> IO Int32 Source #

unmap :: D -> M -> IO () Source #

REQUIREMENTS

TYPE

data MType Source #

Instances

Instances details
Storable MType Source # 
Instance details

Defined in Gpu.Vulkan.Memory.Core

Methods

sizeOf :: MType -> Int #

alignment :: MType -> Int #

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

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

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

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

peek :: Ptr MType -> IO MType #

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

Show MType Source # 
Instance details

Defined in Gpu.Vulkan.Memory.Core

Methods

showsPrec :: Int -> MType -> ShowS #

show :: MType -> String #

showList :: [MType] -> ShowS #

pattern MType :: Word32 -> Word32 -> MType Source #

HEAP

data Heap Source #

Instances

Instances details
Storable Heap Source # 
Instance details

Defined in Gpu.Vulkan.Memory.Core

Methods

sizeOf :: Heap -> Int #

alignment :: Heap -> Int #

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

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

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

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

peek :: Ptr Heap -> IO Heap #

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

Show Heap Source # 
Instance details

Defined in Gpu.Vulkan.Memory.Core

Methods

showsPrec :: Int -> Heap -> ShowS #

show :: Heap -> String #

showList :: [Heap] -> ShowS #

pattern Heap :: Word64 -> Word32 -> Heap Source #

BARRIER

data Barrier Source #

Instances

Instances details
Storable Barrier Source # 
Instance details

Defined in Gpu.Vulkan.Memory.Core

Show Barrier Source # 
Instance details

Defined in Gpu.Vulkan.Memory.Core

pattern Barrier :: () -> PtrVoid -> Word32 -> Word32 -> Barrier Source #