Trait sierra::TypedDescriptorBinding[][src]

pub trait TypedDescriptorBinding {
    type Descriptors;

    const COUNT: u32;
    const FLAGS: DescriptorBindingFlags;

    fn eq(&self, descriptors: &Self::Descriptors) -> bool;
fn get_descriptors(
        &self,
        device: &Device
    ) -> Result<Self::Descriptors, OutOfMemory>; }
Expand description

Trait for all types that can be used as descriptor.

Associated Types

Descriptors value.

Associated Constants

Number of descriptors in the binding.

Flags necessary for this binding type.

Required methods

Compare with image view currently bound to descriptor set. Returns true if self is equivalent specified image view, and no update is required.

Returns BufferRange equivalent to self.

Implementations on Foreign Types

Implementors