Safe Haskell | None |
---|---|
Language | Haskell2010 |
Gpu.Vulkan.AllocationCallbacks.Middle
Synopsis
- create :: FunctionsInfo a -> IO (Functions a)
- destroy :: Functions a -> IO ()
- data Functions a
- data FunctionsInfo a = FunctionsInfo {}
- type FnAllocationFunction a = Ptr a -> Size -> Alignment -> SystemAllocationScope -> IO (Ptr ())
- type FnReallocationFunction a = Ptr a -> Ptr () -> Size -> Alignment -> SystemAllocationScope -> IO (Ptr ())
- type FnFreeFunction a = Ptr a -> Ptr () -> IO ()
- type FnInternalAllocationNotification a = Ptr a -> Size -> InternalAllocationType -> SystemAllocationScope -> IO ()
- type FnInternalFreeNotification a = Ptr a -> Size -> InternalAllocationType -> SystemAllocationScope -> IO ()
- type Size = Word64
- type Alignment = Word64
- apply :: Functions a -> Ptr a -> A a
- data A a
CREATE AND DESTROY
data FunctionsInfo a Source #
Function Types
type FnAllocationFunction a = Ptr a -> Size -> Alignment -> SystemAllocationScope -> IO (Ptr ()) Source #
type FnReallocationFunction a = Ptr a -> Ptr () -> Size -> Alignment -> SystemAllocationScope -> IO (Ptr ()) Source #
type FnFreeFunction a = Ptr a -> Ptr () -> IO () #
type FnInternalAllocationNotification a = Ptr a -> Size -> InternalAllocationType -> SystemAllocationScope -> IO () Source #
type FnInternalFreeNotification a = Ptr a -> Size -> InternalAllocationType -> SystemAllocationScope -> IO () Source #