[−][src]Struct vulkano::descriptor::descriptor_set::DescriptorWrite
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.
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]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,