gpu-vulkan-0.1.0.137: Vulkan library
Safe HaskellNone
LanguageHaskell2010

Gpu.Vulkan.DescriptorSet

Synopsis

ALLOCATE

allocateDs :: forall (mn :: Maybe Type) (slbtss :: [(Type, [BindingType])]) sd sp a. (WithPoked (M mn), DListFromMiddle slbtss) => D sd -> AllocateInfo mn sp slbtss -> (forall s. PL (D s) slbtss -> IO a) -> IO a Source #

data D s (slbts :: (Type, [BindingType])) Source #

data AllocateInfo (mn :: Maybe Type) sp (slbtss :: [(Type, [BindingType])]) Source #

Constructors

AllocateInfo 

Instances

Instances details
(Show (M n), Show (PL (U2 (D :: Type -> [BindingType] -> Type)) slbtss)) => Show (AllocateInfo n sp slbtss) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet

Methods

showsPrec :: Int -> AllocateInfo n sp slbtss -> ShowS #

show :: AllocateInfo n sp slbtss -> String #

showList :: [AllocateInfo n sp slbtss] -> ShowS #

class DListFromMiddle (slbtss :: [(Type, [BindingType])]) Source #

Minimal complete definition

dListFromMiddle

Instances

Instances details
DListFromMiddle ('[] :: [(Type, [BindingType])]) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet

Methods

dListFromMiddle :: [D] -> IO (PL (D s) ('[] :: [(Type, [BindingType])]))

(DefaultDynamicLengths slbts, DListFromMiddle slbtss) => DListFromMiddle (slbts ': slbtss) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet

Methods

dListFromMiddle :: [D] -> IO (PL (D s) (slbts ': slbtss))

Descriptor Set Group

data Group sd s k sp (slbtss :: [(Type, [BindingType])]) Source #

group :: forall sd k sp (slbtss :: [(Type, [BindingType])]) a. D sd -> (forall s. Group sd s k sp slbtss -> IO a) -> IO a Source #

allocateDs' :: forall k (mn :: Maybe Type) (slbtss :: [(Type, [BindingType])]) sd sg sp. (Ord k, WithPoked (M mn), DListFromMiddle slbtss) => Group sd sg k sp slbtss -> k -> AllocateInfo mn sp slbtss -> IO (Either String (PL (D sg) slbtss)) Source #

unsafeFreeDs :: forall k sd sg sp (slbtss :: [(Type, [BindingType])]). Ord k => Group sd sg k sp slbtss -> k -> IO (Either String ()) Source #

lookup :: forall k sd s sp (slbtss :: [(Type, [BindingType])]). Ord k => Group sd s k sp slbtss -> k -> IO (Maybe (PL (D s) slbtss)) Source #

UPDATE

updateDs :: forall (writeArgs :: [(Maybe Type, Type, (Type, [BindingType]), WriteSourcesArg, Nat)]) (copyArgs :: [(Maybe Type, Type, (Type, [BindingType]), Nat, Type, (Type, [BindingType]), Nat, BindingType)]) sd. (Show (PL Write (M0_5 writeArgs)), WriteListToMiddle writeArgs, WriteListUpdateDynamicLengths writeArgs, CopyListToMiddle copyArgs) => D sd -> PL (U5 Write) writeArgs -> PL (U8 Copy) copyArgs -> IO () Source #

Write

data Write (mn :: Maybe Type) sds (slbts :: (Type, [BindingType])) (wsarg :: WriteSourcesArg) (i :: Nat) Source #

Constructors

Write 

Fields

class WriteListToCore (M0_5 wargs) => WriteListToMiddle (wargs :: [(Maybe Type, Type, (Type, [BindingType]), WriteSourcesArg, Nat)]) Source #

Minimal complete definition

writeListToMiddle

Instances

Instances details
WriteListToMiddle ('[] :: [(Maybe Type, Type, (Type, [BindingType]), WriteSourcesArg, Nat)]) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Write

(WithPoked (M mn), WriteSourcesToMiddle (I1_2 slbts) wsarg i, WriteListToMiddle wargs) => WriteListToMiddle ('(mn, sds, slbts, wsarg, i) ': wargs) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Write

Methods

writeListToMiddle :: PL (U5 Write) ('(mn, sds, slbts, wsarg, i) ': wargs) -> PL Write (M0_5 ('(mn, sds, slbts, wsarg, i) ': wargs))

class WriteListUpdateDynamicLengths (wargs :: [(Maybe Type, Type, (Type, [BindingType]), WriteSourcesArg, Nat)]) Source #

Minimal complete definition

writeListUpdateDynamicLength

Instances

Instances details
WriteListUpdateDynamicLengths ('[] :: [(Maybe Type, Type, (Type, [BindingType]), WriteSourcesArg, Nat)]) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Write

(WriteSourcesUpdateDynamicLengths bts wsarg, WriteListUpdateDynamicLengths wargs) => WriteListUpdateDynamicLengths ('(mn, sds, '(sl, bts), wsarg, i) ': wargs) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Write

Methods

writeListUpdateDynamicLength :: PL (U5 Write) ('(mn, sds, '(sl, bts), wsarg, i) ': wargs) -> IO ()

class OnlyDynamicLengths objs => UpdateDynamicLength (bts :: [BindingType]) (objs :: [O]) Source #

Minimal complete definition

updateDynamicLength

Instances

Instances details
UpdateDynamicLength _bts ('[] :: [O]) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSetLayout.UpdateDynamicLengths

(UpdateDynamicLengthPrefix os os', OnlyDynamicLengths os) => UpdateDynamicLength ('Buffer ('Dynamic n o ': os') ': bts) ('Dynamic n o ': os) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSetLayout.UpdateDynamicLengths

UpdateDynamicLength ('Buffer os' ': bts) (oo ': os) => UpdateDynamicLength ('Buffer ('Dynamic n o ': os') ': bts) (oo ': os) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSetLayout.UpdateDynamicLengths

(UpdateDynamicLengthPrefix os os', OnlyDynamicLengths os) => UpdateDynamicLength ('Buffer (Dynamic n algn ('Just _nm) ot t ': os') ': bts) (Dynamic n algn ('Nothing :: Maybe Symbol) ot t ': os) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSetLayout.UpdateDynamicLengths

Methods

updateDynamicLength :: PL (PL Length) (BindingTypeListBufferOnlyDynamics ('Buffer (Dynamic n algn ('Just _nm) ot t ': os') ': bts)) -> PL Length (OnlyDynamics (Dynamic n algn ('Nothing :: Maybe Symbol) ot t ': os)) -> PL (PL Length) (BindingTypeListBufferOnlyDynamics ('Buffer (Dynamic n algn ('Just _nm) ot t ': os') ': bts))

(UpdateDynamicLengthPrefix os os', OnlyDynamicLengths os) => UpdateDynamicLength ('Buffer (Dynamic n algn ('Nothing :: Maybe Symbol) ot t ': os') ': bts) (Dynamic n algn ('Just _nm) ot t ': os) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSetLayout.UpdateDynamicLengths

Methods

updateDynamicLength :: PL (PL Length) (BindingTypeListBufferOnlyDynamics ('Buffer (Dynamic n algn ('Nothing :: Maybe Symbol) ot t ': os') ': bts)) -> PL Length (OnlyDynamics (Dynamic n algn ('Just _nm) ot t ': os)) -> PL (PL Length) (BindingTypeListBufferOnlyDynamics ('Buffer (Dynamic n algn ('Nothing :: Maybe Symbol) ot t ': os') ': bts))

(UpdateDynamicLengthPrefix os os', OnlyDynamicLengths os) => UpdateDynamicLength ('Buffer (Static algn ('Just _nm) ot t ': os') ': bts) (Static algn ('Nothing :: Maybe Symbol) ot t ': os) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSetLayout.UpdateDynamicLengths

Methods

updateDynamicLength :: PL (PL Length) (BindingTypeListBufferOnlyDynamics ('Buffer (Static algn ('Just _nm) ot t ': os') ': bts)) -> PL Length (OnlyDynamics (Static algn ('Nothing :: Maybe Symbol) ot t ': os)) -> PL (PL Length) (BindingTypeListBufferOnlyDynamics ('Buffer (Static algn ('Just _nm) ot t ': os') ': bts))

(UpdateDynamicLengthPrefix os os', OnlyDynamicLengths os) => UpdateDynamicLength ('Buffer (Static algn ('Nothing :: Maybe Symbol) ot t ': os') ': bts) (Static algn ('Just _nm) ot t ': os) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSetLayout.UpdateDynamicLengths

Methods

updateDynamicLength :: PL (PL Length) (BindingTypeListBufferOnlyDynamics ('Buffer (Static algn ('Nothing :: Maybe Symbol) ot t ': os') ': bts)) -> PL Length (OnlyDynamics (Static algn ('Just _nm) ot t ': os)) -> PL (PL Length) (BindingTypeListBufferOnlyDynamics ('Buffer (Static algn ('Nothing :: Maybe Symbol) ot t ': os') ': bts))

(UpdateDynamicLengthPrefix os os', OnlyDynamicLengths os) => UpdateDynamicLength ('Buffer ('Static_ o ': os') ': bts) ('Static_ o ': os) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSetLayout.UpdateDynamicLengths

UpdateDynamicLength ('Buffer os' ': bts) (oo ': os) => UpdateDynamicLength ('Buffer ('Static_ o ': os') ': bts) (oo ': os) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSetLayout.UpdateDynamicLengths

UpdateDynamicLength bts (o ': os) => UpdateDynamicLength ('Buffer ('[] :: [O]) ': bts) (o ': os) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSetLayout.UpdateDynamicLengths

Methods

updateDynamicLength :: PL (PL Length) (BindingTypeListBufferOnlyDynamics ('Buffer ('[] :: [O]) ': bts)) -> PL Length (OnlyDynamics (o ': os)) -> PL (PL Length) (BindingTypeListBufferOnlyDynamics ('Buffer ('[] :: [O]) ': bts))

data WriteSources (arg :: WriteSourcesArg) where Source #

Constructors

ImageInfos :: forall (iiargs :: [(Type, Symbol, Format, Type)]). PL (U4 ImageInfo) iiargs -> WriteSources ('WriteSourcesArgImage iiargs) 
ImageInfosNoSampler :: forall (iiargs :: [(Symbol, Format, Type)]). PL (U3 ImageInfoNoSampler) iiargs -> WriteSources ('WriteSourcesArgImageNoSampler iiargs) 
BufferInfos :: forall (biargs :: [(Type, Type, Symbol, O, Nat)]). PL (U5 BufferInfo) biargs -> WriteSources ('WriteSourcesArgBuffer biargs) 
TexelBufferViews :: forall (tbvargs :: [(Type, Symbol, Type)]). PL (U3 B) tbvargs -> WriteSources ('WriteSourcesArgBufferView tbvargs) 
WriteSourcesInNext :: DstBinding -> DstArrayElement -> DescriptorCount -> WriteSources 'WriteSourcesArgInNext 

data WriteSourcesArg Source #

Instances

Instances details
WriteListToMiddle ('[] :: [(Maybe Type, Type, (Type, [BindingType]), WriteSourcesArg, Nat)]) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Write

WriteListUpdateDynamicLengths ('[] :: [(Maybe Type, Type, (Type, [BindingType]), WriteSourcesArg, Nat)]) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Write

(WithPoked (M mn), WriteSourcesToMiddle (I1_2 slbts) wsarg i, WriteListToMiddle wargs) => WriteListToMiddle ('(mn, sds, slbts, wsarg, i) ': wargs) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Write

Methods

writeListToMiddle :: PL (U5 Write) ('(mn, sds, slbts, wsarg, i) ': wargs) -> PL Write (M0_5 ('(mn, sds, slbts, wsarg, i) ': wargs))

(WriteSourcesUpdateDynamicLengths bts wsarg, WriteListUpdateDynamicLengths wargs) => WriteListUpdateDynamicLengths ('(mn, sds, '(sl, bts), wsarg, i) ': wargs) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Write

Methods

writeListUpdateDynamicLength :: PL (U5 Write) ('(mn, sds, '(sl, bts), wsarg, i) ': wargs) -> IO ()

class WriteSourcesToMiddle (lbts :: [BindingType]) (wsarg :: WriteSourcesArg) (i :: Nat) Source #

Minimal complete definition

writeSourcesToMiddle

Copy

data Copy (mn :: Maybe Type) sdss (slbtss :: (Type, [BindingType])) (is :: Nat) sdsd (slbtsd :: (Type, [BindingType])) (id :: Nat) (lbts :: BindingType) Source #

Constructors

Copy 

Fields

class CopyListToCore (M0_8 cargs) => CopyListToMiddle (cargs :: [(Maybe Type, Type, (Type, [BindingType]), Nat, Type, (Type, [BindingType]), Nat, BindingType)]) Source #

Minimal complete definition

copyListToMiddle

Instances

Instances details
CopyListToMiddle ('[] :: [(Maybe Type, Type, (Type, [BindingType]), Nat, Type, (Type, [BindingType]), Nat, BindingType)]) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Copy

(WithPoked (M mn), BindingAndArrayElem (I1_2 slbtss) lbts is, BindingAndArrayElem (I1_2 slbtsd) lbts id, BindingLength lbts, CopyListToMiddle cargs) => CopyListToMiddle ('(mn, sdss, slbtss, is, sdsd, slbtsd, id, lbts) ': cargs) Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Copy

Methods

copyListToMiddle :: PL (U8 Copy) ('(mn, sdss, slbtss, is, sdsd, slbtsd, id, lbts) ': cargs) -> PL Copy (M0_8 ('(mn, sdss, slbtss, is, sdsd, slbtsd, id, lbts) ': cargs))

BindingAndArrayElem

class BindingAndArrayElem (lbts :: [BindingType]) (lbt :: BindingType) (i :: Nat) Source #

Minimal complete definition

bindingAndArrayElem

Instances

Instances details
BindingAndArrayElemBuffer lbts objs i => BindingAndArrayElem lbts ('Buffer objs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Copy

Methods

bindingAndArrayElem :: Integral n => (n, n)

BindingAndArrayElemBufferView lbts bvargs i => BindingAndArrayElem lbts ('BufferView bvargs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Copy

Methods

bindingAndArrayElem :: Integral n => (n, n)

BindingAndArrayElemImage lbts iargs i => BindingAndArrayElem lbts ('Image iargs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Copy

Methods

bindingAndArrayElem :: Integral n => (n, n)

BindingAndArrayElemImageWithImmutableSampler lbts (M0'1_3 iargs) i => BindingAndArrayElem lbts ('ImageSampler iargs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.Copy

Methods

bindingAndArrayElem :: Integral n => (n, n)

class BindingAndArrayElemImage (lbts :: [BindingType]) (iargs :: [(Symbol, Format)]) (i :: Nat) Source #

Minimal complete definition

bindingAndArrayElemImage

Instances

Instances details
BindingAndArrayElemImage ('Image liargs ': lbts) iargs i => BindingAndArrayElemImage ('Image (liarg ': liargs) ': lbts) iargs i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

Methods

bindingAndArrayElemImage :: Integral n => n -> n -> (n, n)

BindingAndArrayElemImage lbts iargs i => BindingAndArrayElemImage (bt ': lbts) iargs i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

Methods

bindingAndArrayElemImage :: Integral n => n -> n -> (n, n)

BindingAndArrayElemImage ('Image liargs ': lbts) (iarg ': iargs) (i - 1) => BindingAndArrayElemImage ('Image (iarg ': liargs) ': lbts) (iarg ': iargs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

Methods

bindingAndArrayElemImage :: Integral n => n -> n -> (n, n)

IsPrefixOf iargs liargs => BindingAndArrayElemImage ('Image (iarg ': liargs) ': lbts) (iarg ': iargs) 0 Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

Methods

bindingAndArrayElemImage :: Integral n => n -> n -> (n, n)

class BindingAndArrayElemImageWithImmutableSampler (lbts :: [BindingType]) (iargs :: [(Symbol, Format)]) (i :: Nat) Source #

Minimal complete definition

bindingAndArrayElemImageWithImmutableSampler

Instances

Instances details
BindingAndArrayElemImageWithImmutableSampler ('ImageSampler liargs ': lbts) iargs i => BindingAndArrayElemImageWithImmutableSampler ('ImageSampler (liarg ': liargs) ': lbts) iargs i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

BindingAndArrayElemImageWithImmutableSampler lbts iargs i => BindingAndArrayElemImageWithImmutableSampler (bt ': lbts) iargs i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

BindingAndArrayElemImageWithImmutableSampler ('ImageSampler liargs ': lbts) ('(nm, fmt) ': iargs) (i - 1) => BindingAndArrayElemImageWithImmutableSampler ('ImageSampler ('(nm, fmt, ss) ': liargs) ': lbts) ('(nm, fmt) ': iargs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

IsPrefixOf iargs (M0'1_3 liargs) => BindingAndArrayElemImageWithImmutableSampler ('ImageSampler ('(nm, fmt, ss) ': liargs) ': lbts) ('(nm, fmt) ': iargs) 0 Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

class BindingAndArrayElemBuffer (lbts :: [BindingType]) (objs :: [O]) (i :: Nat) Source #

Minimal complete definition

bindingAndArrayElemBuffer

Instances

Instances details
BindingAndArrayElemBuffer ('Buffer lobjs ': lbts) (Dynamic n al ('Nothing :: Maybe Symbol) ot t ': objs) (i - 1) => BindingAndArrayElemBuffer ('Buffer (Dynamic n al ('Just _nm) ot t ': lobjs) ': lbts) (Dynamic n al ('Nothing :: Maybe Symbol) ot t ': objs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n0 => n0 -> n0 -> (n0, n0)

IsPrefixObject objs lobjs => BindingAndArrayElemBuffer ('Buffer (Dynamic n al ('Just _nm) ot t ': lobjs) ': lbts) (Dynamic n al ('Nothing :: Maybe Symbol) ot t ': objs) 0 Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n0 => n0 -> n0 -> (n0, n0)

IsPrefixObject objs lobjs => BindingAndArrayElemBuffer ('Buffer (Dynamic n al ('Nothing :: Maybe Symbol) ot t ': lobjs) ': lbts) (Dynamic n al ('Just _nm) ot t ': objs) 0 Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n0 => n0 -> n0 -> (n0, n0)

BindingAndArrayElemBuffer ('Buffer lobjs ': lbts) (Dynamic n al ('Just nm) ot t ': objs) (i - 1) => BindingAndArrayElemBuffer ('Buffer (Dynamic n al ('Nothing :: Maybe Symbol) ot t ': lobjs) ': lbts) (Dynamic n al ('Just nm) ot t ': objs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n0 => n0 -> n0 -> (n0, n0)

BindingAndArrayElemBuffer ('Buffer lobjs ': lbts) (Static al ('Nothing :: Maybe Symbol) ot t ': objs) (i - 1) => BindingAndArrayElemBuffer ('Buffer (Static al ('Just _nm) ot t ': lobjs) ': lbts) (Static al ('Nothing :: Maybe Symbol) ot t ': objs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n => n -> n -> (n, n)

IsPrefixObject objs lobjs => BindingAndArrayElemBuffer ('Buffer (Static al ('Just _nm) ot t ': lobjs) ': lbts) (Static al ('Nothing :: Maybe Symbol) ot t ': objs) 0 Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n => n -> n -> (n, n)

IsPrefixObject objs lobjs => BindingAndArrayElemBuffer ('Buffer (Static al ('Nothing :: Maybe Symbol) ot t ': lobjs) ': lbts) (Static al ('Just _nm) ot t ': objs) 0 Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n => n -> n -> (n, n)

BindingAndArrayElemBuffer ('Buffer lobjs ': lbts) (Static al ('Just nm) ot t ': objs) (i - 1) => BindingAndArrayElemBuffer ('Buffer (Static al ('Nothing :: Maybe Symbol) ot t ': lobjs) ': lbts) (Static al ('Just nm) ot t ': objs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n => n -> n -> (n, n)

BindingAndArrayElemBuffer ('Buffer lobjs ': lbts) (obj ': objs) i => BindingAndArrayElemBuffer ('Buffer (lobj ': lobjs) ': lbts) (obj ': objs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n => n -> n -> (n, n)

BindingAndArrayElemBuffer ('Buffer lobjs ': lbts) (obj ': objs) (i - 1) => BindingAndArrayElemBuffer ('Buffer (obj ': lobjs) ': lbts) (obj ': objs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n => n -> n -> (n, n)

IsPrefixObject objs lobjs => BindingAndArrayElemBuffer ('Buffer (obj ': lobjs) ': lbts) (obj ': objs) 0 Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n => n -> n -> (n, n)

BindingAndArrayElemBuffer lbts (obj ': objs) i => BindingAndArrayElemBuffer (bt ': lbts) (obj ': objs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem.Buffer

Methods

bindingAndArrayElemBuffer :: Integral n => n -> n -> (n, n)

class BindingAndArrayElemBufferView (bt :: [BindingType]) (bvargs :: [(Symbol, Type)]) (i :: Nat) Source #

Minimal complete definition

bindingAndArrayElemBufferView

Instances

Instances details
BindingAndArrayElemBufferView ('BufferView lbvargs ': lbts) bvargs i => BindingAndArrayElemBufferView ('BufferView (bvarg ': lbvargs) ': lbts) bvargs i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

Methods

bindingAndArrayElemBufferView :: Integral n => n -> n -> (n, n)

BindingAndArrayElemBufferView lbts bvargs i => BindingAndArrayElemBufferView (bt ': lbts) bvargs i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

Methods

bindingAndArrayElemBufferView :: Integral n => n -> n -> (n, n)

BindingAndArrayElemBufferView ('BufferView lbvargs ': lbts) (bvarg ': bvargs) (i - 1) => BindingAndArrayElemBufferView ('BufferView (bvarg ': lbvargs) ': lbts) (bvarg ': bvargs) i Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

Methods

bindingAndArrayElemBufferView :: Integral n => n -> n -> (n, n)

IsPrefixOf bvargs lbvargs => BindingAndArrayElemBufferView ('BufferView (bvarg ': lbvargs) ': lbts) (bvarg ': bvargs) 0 Source # 
Instance details

Defined in Gpu.Vulkan.DescriptorSet.BindingAndArrayElem

Methods

bindingAndArrayElemBufferView :: Integral n => n -> n -> (n, n)