Struct vulkano::descriptor::descriptor_set::DescriptorWrite
[−]
[src]
pub struct DescriptorWrite { /* fields omitted */ }
Represents a single write entry to a descriptor set.
Use the various constructors to build a DescriptorWrite
. While it is safe to build a
DescriptorWrite
, it is unsafe to actually use it to write to a descriptor set.
Methods
impl DescriptorWrite
[src]
pub fn storage_image<I>(
binding: u32,
array_element: u32,
image: &I
) -> DescriptorWrite where
I: ImageViewAccess,
[src]
binding: u32,
array_element: u32,
image: &I
) -> DescriptorWrite where
I: ImageViewAccess,
pub fn sampler(
binding: u32,
array_element: u32,
sampler: &Arc<Sampler>
) -> DescriptorWrite
[src]
binding: u32,
array_element: u32,
sampler: &Arc<Sampler>
) -> DescriptorWrite
pub fn sampled_image<I>(
binding: u32,
array_element: u32,
image: &I
) -> DescriptorWrite where
I: ImageViewAccess,
[src]
binding: u32,
array_element: u32,
image: &I
) -> DescriptorWrite where
I: ImageViewAccess,
pub fn combined_image_sampler<I>(
binding: u32,
array_element: u32,
sampler: &Arc<Sampler>,
image: &I
) -> DescriptorWrite where
I: ImageViewAccess,
[src]
binding: u32,
array_element: u32,
sampler: &Arc<Sampler>,
image: &I
) -> DescriptorWrite where
I: ImageViewAccess,
pub fn uniform_texel_buffer<'a, F, B>(
binding: u32,
array_element: u32,
view: &BufferView<F, B>
) -> DescriptorWrite where
B: BufferAccess,
[src]
binding: u32,
array_element: u32,
view: &BufferView<F, B>
) -> DescriptorWrite where
B: BufferAccess,
pub fn storage_texel_buffer<'a, F, B>(
binding: u32,
array_element: u32,
view: &BufferView<F, B>
) -> DescriptorWrite where
B: BufferAccess,
[src]
binding: u32,
array_element: u32,
view: &BufferView<F, B>
) -> DescriptorWrite where
B: BufferAccess,
pub unsafe fn uniform_buffer<B>(
binding: u32,
array_element: u32,
buffer: &B
) -> DescriptorWrite where
B: BufferAccess,
[src]
binding: u32,
array_element: u32,
buffer: &B
) -> DescriptorWrite where
B: BufferAccess,
pub unsafe fn storage_buffer<B>(
binding: u32,
array_element: u32,
buffer: &B
) -> DescriptorWrite where
B: BufferAccess,
[src]
binding: u32,
array_element: u32,
buffer: &B
) -> DescriptorWrite where
B: BufferAccess,
pub unsafe fn dynamic_uniform_buffer<B>(
binding: u32,
array_element: u32,
buffer: &B
) -> DescriptorWrite where
B: BufferAccess,
[src]
binding: u32,
array_element: u32,
buffer: &B
) -> DescriptorWrite where
B: BufferAccess,
pub unsafe fn dynamic_storage_buffer<B>(
binding: u32,
array_element: u32,
buffer: &B
) -> DescriptorWrite where
B: BufferAccess,
[src]
binding: u32,
array_element: u32,
buffer: &B
) -> DescriptorWrite where
B: BufferAccess,
pub fn input_attachment<I>(
binding: u32,
array_element: u32,
image: &I
) -> DescriptorWrite where
I: ImageViewAccess,
[src]
binding: u32,
array_element: u32,
image: &I
) -> DescriptorWrite where
I: ImageViewAccess,
pub fn ty(&self) -> DescriptorType
[src]
Returns the type corresponding to this write.