bufferWrite :: DescriptorSet-> Word32Binding.
-> DescriptorType-> Buffer-> SomeStruct WriteDescriptorSet
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11
Modulevulkan-utils-0.5.11.0Haskell2010
Single-resource descriptor writes for updateDescriptorSets.
bufferWrite covers the whole-buffer case (a uniform or storage buffer
bound in its entirety); imageWrite is its samplerless image sibling (a
storage image in GENERAL layout, a sampled image in
SHADER_READ_ONLY_OPTIMAL, …); combinedImageSamplerWrite binds an image
together with a sampler. Bindings needing partial buffer ranges or
descriptor arrays are out of scope — assemble those WriteDescriptorSets
directly.
bufferWrite :: DescriptorSet-> Word32Binding.
-> DescriptorType-> Buffer-> SomeStruct WriteDescriptorSetimageWrite :: DescriptorSet-> Word32Binding.
-> DescriptorType-> ImageLayoutThe layout the image will be in when the set is bound.
-> ImageView-> SomeStruct WriteDescriptorSetcombinedImageSamplerWrite :: DescriptorSet-> Word32Binding.
-> Sampler-> ImageView-> ImageLayoutThe layout the image will be in when the set is bound.
-> SomeStruct WriteDescriptorSetA combined image+sampler descriptor write (DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER).