gpu-vulkan-middle-0.1.0.71: Medium wrapper for Vulkan API
Safe HaskellNone
LanguageHaskell2010

Gpu.Vulkan.Buffer.Middle

Synopsis

CREATE AND DESTROY

create :: forall (mn :: Maybe Type) (mc :: Maybe Type). WithPoked (M mn) => D -> CreateInfo mn -> M A mc -> IO B Source #

destroy :: forall (md :: Maybe Type). D -> B -> M A md -> IO () Source #

data B Source #

Instances

Instances details
Storable B Source # 
Instance details

Defined in Gpu.Vulkan.Buffer.Middle.Internal

Methods

sizeOf :: B -> Int #

alignment :: B -> Int #

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

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

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

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

peek :: Ptr B -> IO B #

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

Show B Source # 
Instance details

Defined in Gpu.Vulkan.Buffer.Middle.Internal

Methods

showsPrec :: Int -> B -> ShowS #

show :: B -> String #

showList :: [B] -> ShowS #

Eq B Source # 
Instance details

Defined in Gpu.Vulkan.Buffer.Middle.Internal

Methods

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

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

GET MEMORY REQUIREMENTS AND BIND MEMORY

bindMemory :: D -> B -> M -> Size -> IO () Source #

COPY

data Copy #

Instances

Instances details
Storable Copy 
Instance details

Defined in Gpu.Vulkan.Buffer.Core

Methods

sizeOf :: Copy -> Int #

alignment :: Copy -> Int #

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

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

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

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

peek :: Ptr Copy -> IO Copy #

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

Show Copy 
Instance details

Defined in Gpu.Vulkan.Buffer.Core

Methods

showsPrec :: Int -> Copy -> ShowS #

show :: Copy -> String #

showList :: [Copy] -> ShowS #

pattern Copy :: Word64 -> Word64 -> Word64 -> Copy #

MEMORY BARRIER