pub struct DescriptorSetLayoutBinding<'a> {
pub binding: u32,
pub descriptor_type: DescriptorType,
pub descriptor_count: u32,
pub stage_flags: ShaderStageFlags,
/* private fields */
}Expand description
Fields§
§binding: u32§descriptor_type: DescriptorType§descriptor_count: u32§stage_flags: ShaderStageFlagsImplementations§
Source§impl<'a> DescriptorSetLayoutBinding<'a>
impl<'a> DescriptorSetLayoutBinding<'a>
pub fn binding(self, value: u32) -> Self
pub fn descriptor_type(self, value: DescriptorType) -> Self
pub fn descriptor_count(self, value: u32) -> Self
pub fn stage_flags(self, value: ShaderStageFlags) -> Self
pub fn immutable_samplers<V0: Alias<Sampler> + 'a>( self, p_immutable_samplers: impl AsSlice<'a, V0>, ) -> Self
pub fn get_immutable_samplers(&self) -> &'a [BorrowedHandle<'a, Sampler>]
Trait Implementations§
Source§impl<'a> Default for DescriptorSetLayoutBinding<'a>
impl<'a> Default for DescriptorSetLayoutBinding<'a>
impl<'a> Send for DescriptorSetLayoutBinding<'a>
impl<'a> Sync for DescriptorSetLayoutBinding<'a>
Auto Trait Implementations§
impl<'a> Freeze for DescriptorSetLayoutBinding<'a>
impl<'a> RefUnwindSafe for DescriptorSetLayoutBinding<'a>
impl<'a> Unpin for DescriptorSetLayoutBinding<'a>
impl<'a> UnwindSafe for DescriptorSetLayoutBinding<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more