Struct vulkano::descriptor::descriptor_set::DescriptorWrite [−][src]
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.
Implementations
impl DescriptorWrite
[src]
pub fn storage_image<I>(
binding: u32,
array_element: u32,
image_view: &I
) -> DescriptorWrite where
I: ImageViewAbstract,
[src]
binding: u32,
array_element: u32,
image_view: &I
) -> DescriptorWrite where
I: ImageViewAbstract,
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_view: &I
) -> DescriptorWrite where
I: ImageViewAbstract,
[src]
binding: u32,
array_element: u32,
image_view: &I
) -> DescriptorWrite where
I: ImageViewAbstract,
pub fn combined_image_sampler<I>(
binding: u32,
array_element: u32,
sampler: &Arc<Sampler>,
image_view: &I
) -> DescriptorWrite where
I: ImageViewAbstract,
[src]
binding: u32,
array_element: u32,
sampler: &Arc<Sampler>,
image_view: &I
) -> DescriptorWrite where
I: ImageViewAbstract,
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_view: &I
) -> DescriptorWrite where
I: ImageViewAbstract,
[src]
binding: u32,
array_element: u32,
image_view: &I
) -> DescriptorWrite where
I: ImageViewAbstract,
pub fn ty(&self) -> DescriptorType
[src]
Returns the type corresponding to this write.
Auto Trait Implementations
impl RefUnwindSafe for DescriptorWrite
impl Send for DescriptorWrite
impl Sync for DescriptorWrite
impl Unpin for DescriptorWrite
impl UnwindSafe for DescriptorWrite
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn is_size_suitable(usize) -> bool
[src]
pub fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,