[][src]Struct rafx_resources::DynDescriptorSet

pub struct DynDescriptorSet { /* fields omitted */ }

Implementations

impl DynDescriptorSet[src]

pub fn descriptor_set(&self) -> &DescriptorSetArc[src]

pub fn bind(&self, command_buffer: &RafxCommandBuffer) -> RafxResult<()>[src]

pub fn flush(
    &mut self,
    descriptor_set_allocator: &mut DescriptorSetAllocator
) -> RafxResult<()>
[src]

pub fn set_image(
    &mut self,
    binding_index: u32,
    image_view: &ResourceArc<ImageViewResource>
)
[src]

pub fn set_images(
    &mut self,
    binding_index: u32,
    image_views: &[Option<&ResourceArc<ImageViewResource>>]
)
[src]

pub fn set_image_at_index(
    &mut self,
    binding_index: u32,
    array_index: usize,
    image_view: &ResourceArc<ImageViewResource>
)
[src]

pub fn set_buffer(
    &mut self,
    binding_index: u32,
    data: &ResourceArc<BufferResource>
)
[src]

pub fn set_buffer_at_index(
    &mut self,
    binding_index: u32,
    array_index: usize,
    data: &ResourceArc<BufferResource>
)
[src]

pub fn set_buffer_data<T: Copy + 'static>(
    &mut self,
    binding_index: u32,
    data: &T
)
[src]

pub fn set_buffer_data_at_index<T: Copy + 'static>(
    &mut self,
    binding_index: u32,
    array_index: usize,
    data: &T
)
[src]

Trait Implementations

impl Debug for DynDescriptorSet[src]

impl Drop for DynDescriptorSet[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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

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

impl<T> Resource for T where
    T: Downcast + Send + Sync
[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.