Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- allocate :: D -> Ptr AllocateInfo -> Ptr A -> Ptr M -> IO Int32
- free :: D -> M -> Ptr A -> IO ()
- type M = Ptr MTag
- data AllocateInfo
- pattern AllocateInfo :: () -> PtrVoid -> Word64 -> Word32 -> AllocateInfo
- allocateInfoSType :: AllocateInfo -> ()
- allocateInfoPNext :: AllocateInfo -> PtrVoid
- allocateInfoAllocationSize :: AllocateInfo -> Word64
- allocateInfoMemoryTypeIndex :: AllocateInfo -> Word32
- map :: D -> M -> Word64 -> Word64 -> Word32 -> Ptr (Ptr a) -> IO Int32
- unmap :: D -> M -> IO ()
- data Requirements
- pattern Requirements :: Word64 -> Word64 -> Word32 -> Requirements
- requirementsSize :: Requirements -> Word64
- requirementsAlignment :: Requirements -> Word64
- requirementsMemoryTypeBits :: Requirements -> Word32
- data MType
- type ListMType = [MType]
- pattern MType :: Word32 -> Word32 -> MType
- mTypePropertyFlags :: MType -> Word32
- mTypeHeapIndex :: MType -> Word32
- maxTypes :: Integral n => n
- data Heap
- type ListHeap = [Heap]
- pattern Heap :: Word64 -> Word32 -> Heap
- heapSize :: Heap -> Word64
- heapFlags :: Heap -> Word32
- maxHeaps :: Integral n => n
- data Barrier
- pattern Barrier :: () -> PtrVoid -> Word32 -> Word32 -> Barrier
- barrierSType :: Barrier -> ()
- barrierPNext :: Barrier -> PtrVoid
- barrierSrcAccessMask :: Barrier -> Word32
- barrierDstAccessMask :: Barrier -> Word32
ALLOCATE AND FREE
data AllocateInfo Source #
Instances
Storable AllocateInfo Source # | |
Defined in Gpu.Vulkan.Memory.Core sizeOf :: AllocateInfo -> Int # alignment :: AllocateInfo -> Int # peekElemOff :: Ptr AllocateInfo -> Int -> IO AllocateInfo # pokeElemOff :: Ptr AllocateInfo -> Int -> AllocateInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO AllocateInfo # pokeByteOff :: Ptr b -> Int -> AllocateInfo -> IO () # peek :: Ptr AllocateInfo -> IO AllocateInfo # poke :: Ptr AllocateInfo -> AllocateInfo -> IO () # | |
Show AllocateInfo Source # | |
Defined in Gpu.Vulkan.Memory.Core showsPrec :: Int -> AllocateInfo -> ShowS # show :: AllocateInfo -> String # showList :: [AllocateInfo] -> ShowS # |
pattern AllocateInfo :: () -> PtrVoid -> Word64 -> Word32 -> AllocateInfo Source #
allocateInfoSType :: AllocateInfo -> () Source #
MAP AND UNMAP
REQUIREMENTS
data Requirements Source #
Instances
Storable Requirements Source # | |
Defined in Gpu.Vulkan.Memory.Core sizeOf :: Requirements -> Int # alignment :: Requirements -> Int # peekElemOff :: Ptr Requirements -> Int -> IO Requirements # pokeElemOff :: Ptr Requirements -> Int -> Requirements -> IO () # peekByteOff :: Ptr b -> Int -> IO Requirements # pokeByteOff :: Ptr b -> Int -> Requirements -> IO () # peek :: Ptr Requirements -> IO Requirements # poke :: Ptr Requirements -> Requirements -> IO () # | |
Show Requirements Source # | |
Defined in Gpu.Vulkan.Memory.Core showsPrec :: Int -> Requirements -> ShowS # show :: Requirements -> String # showList :: [Requirements] -> ShowS # |
pattern Requirements :: Word64 -> Word64 -> Word32 -> Requirements Source #
TYPE
Instances
mTypePropertyFlags :: MType -> Word32 Source #
mTypeHeapIndex :: MType -> Word32 Source #
HEAP
BARRIER
Instances
Storable Barrier Source # | |
Show Barrier Source # | |
barrierSType :: Barrier -> () Source #
barrierPNext :: Barrier -> PtrVoid Source #
barrierSrcAccessMask :: Barrier -> Word32 Source #
barrierDstAccessMask :: Barrier -> Word32 Source #