gpu-vulkan-0.1.0.142: Vulkan library
Safe HaskellNone
LanguageHaskell2010

Gpu.Vulkan.Device

Synopsis

CREATE

create :: forall (mn :: Maybe Type) (qcis :: [Maybe Type]) (mac :: Maybe (Type, Type)) a. (WithPoked (M mn), ToListWithCM' WithPoked M qcis, ToMiddle mac) => P -> CreateInfo mn qcis -> M (U2 A) mac -> (forall s. D s -> IO a) -> IO a Source #

data D s Source #

Instances

Instances details
Show (D s) Source # 
Instance details

Defined in Gpu.Vulkan.Device.Type

Methods

showsPrec :: Int -> D s -> ShowS #

show :: D s -> String #

showList :: [D s] -> ShowS #

Group

group :: forall (ma :: Maybe (Type, Type)) k a. ToMiddle ma => M (U2 A) ma -> (forall sd. Group ma sd k -> IO a) -> IO a Source #

data Group (ma :: Maybe (Type, Type)) sd k Source #

create' :: forall k (mn :: Maybe Type) (qcis :: [Maybe Type]) (ma :: Maybe (Type, Type)) sd. (Ord k, WithPoked (M mn), ToListWithCM' WithPoked M qcis, ToMiddle ma) => P -> Group ma sd k -> k -> CreateInfo mn qcis -> IO (Either String (D sd)) Source #

unsafeDestroy :: forall k (ma :: Maybe (Type, Type)) sd. (Ord k, ToMiddle ma) => Group ma sd k -> k -> IO (Either String ()) Source #

lookup :: forall k (ma :: Maybe (Type, Type)) sd. Ord k => Group ma sd k -> k -> IO (Maybe (D sd)) Source #

GET QUEUE AND WAIT IDLE

getQueue :: D sd -> Index -> Index -> IO Q Source #

waitIdle :: D s -> IO () Source #

SIZE

data Size #

Instances

Instances details
Enum Size 
Instance details

Defined in Gpu.Vulkan.Device.Middle.Types

Methods

succ :: Size -> Size #

pred :: Size -> Size #

toEnum :: Int -> Size #

fromEnum :: Size -> Int #

enumFrom :: Size -> [Size] #

enumFromThen :: Size -> Size -> [Size] #

enumFromTo :: Size -> Size -> [Size] #

enumFromThenTo :: Size -> Size -> Size -> [Size] #

Ix Size 
Instance details

Defined in Gpu.Vulkan.Device.Middle.Types

Methods

range :: (Size, Size) -> [Size] #

index :: (Size, Size) -> Size -> Int #

unsafeIndex :: (Size, Size) -> Size -> Int #

inRange :: (Size, Size) -> Size -> Bool #

rangeSize :: (Size, Size) -> Int #

unsafeRangeSize :: (Size, Size) -> Int #

Num Size 
Instance details

Defined in Gpu.Vulkan.Device.Middle.Types

Methods

(+) :: Size -> Size -> Size #

(-) :: Size -> Size -> Size #

(*) :: Size -> Size -> Size #

negate :: Size -> Size #

abs :: Size -> Size #

signum :: Size -> Size #

fromInteger :: Integer -> Size #

Integral Size 
Instance details

Defined in Gpu.Vulkan.Device.Middle.Types

Methods

quot :: Size -> Size -> Size #

rem :: Size -> Size -> Size #

div :: Size -> Size -> Size #

mod :: Size -> Size -> Size #

quotRem :: Size -> Size -> (Size, Size) #

divMod :: Size -> Size -> (Size, Size) #

toInteger :: Size -> Integer #

Real Size 
Instance details

Defined in Gpu.Vulkan.Device.Middle.Types

Methods

toRational :: Size -> Rational #

Show Size 
Instance details

Defined in Gpu.Vulkan.Device.Middle.Types

Methods

showsPrec :: Int -> Size -> ShowS #

show :: Size -> String #

showList :: [Size] -> ShowS #

Eq Size 
Instance details

Defined in Gpu.Vulkan.Device.Middle.Types

Methods

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

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

Ord Size 
Instance details

Defined in Gpu.Vulkan.Device.Middle.Types

Methods

compare :: Size -> Size -> Ordering #

(<) :: Size -> Size -> Bool #

(<=) :: Size -> Size -> Bool #

(>) :: Size -> Size -> Bool #

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

max :: Size -> Size -> Size #

min :: Size -> Size -> Size #

ENUM

newtype QueueCreateFlagBits #

Instances

Instances details
Storable QueueCreateFlagBits 
Instance details

Defined in Gpu.Vulkan.Device.Enum

Bits QueueCreateFlagBits 
Instance details

Defined in Gpu.Vulkan.Device.Enum

Show QueueCreateFlagBits 
Instance details

Defined in Gpu.Vulkan.Device.Enum

Default QueueCreateFlagBits 
Instance details

Defined in Gpu.Vulkan.Device.Enum

Eq QueueCreateFlagBits 
Instance details

Defined in Gpu.Vulkan.Device.Enum