[][src]Struct vulkano::descriptor::descriptor_set::DescriptorWrite

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]

pub fn sampler(
    binding: u32,
    array_element: u32,
    sampler: &Arc<Sampler>
) -> DescriptorWrite
[src]

pub fn sampled_image<I>(
    binding: u32,
    array_element: u32,
    image: &I
) -> DescriptorWrite where
    I: ImageViewAccess
[src]

pub fn combined_image_sampler<I>(
    binding: u32,
    array_element: u32,
    sampler: &Arc<Sampler>,
    image: &I
) -> DescriptorWrite where
    I: ImageViewAccess
[src]

pub fn uniform_texel_buffer<'a, F, B>(
    binding: u32,
    array_element: u32,
    view: &BufferView<F, B>
) -> DescriptorWrite where
    B: BufferAccess
[src]

pub fn storage_texel_buffer<'a, F, B>(
    binding: u32,
    array_element: u32,
    view: &BufferView<F, B>
) -> DescriptorWrite where
    B: BufferAccess
[src]

pub unsafe fn uniform_buffer<B>(
    binding: u32,
    array_element: u32,
    buffer: &B
) -> DescriptorWrite where
    B: BufferAccess
[src]

pub unsafe fn storage_buffer<B>(
    binding: u32,
    array_element: u32,
    buffer: &B
) -> DescriptorWrite where
    B: BufferAccess
[src]

pub unsafe fn dynamic_uniform_buffer<B>(
    binding: u32,
    array_element: u32,
    buffer: &B
) -> DescriptorWrite where
    B: BufferAccess
[src]

pub unsafe fn dynamic_storage_buffer<B>(
    binding: u32,
    array_element: u32,
    buffer: &B
) -> DescriptorWrite where
    B: BufferAccess
[src]

pub fn input_attachment<I>(
    binding: u32,
    array_element: u32,
    image: &I
) -> DescriptorWrite where
    I: ImageViewAccess
[src]

pub fn ty(&self) -> DescriptorType[src]

Returns the type corresponding to this write.

Auto Trait Implementations

impl Send for DescriptorWrite

impl Unpin for DescriptorWrite

impl Sync for DescriptorWrite

impl UnwindSafe for DescriptorWrite

impl RefUnwindSafe for DescriptorWrite

Blanket Implementations

impl<T> Content for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]