Struct ash::vk::DescriptorSetLayoutBinding
source · #[repr(C)]pub struct DescriptorSetLayoutBinding<'a> {
pub binding: u32,
pub descriptor_type: DescriptorType,
pub descriptor_count: u32,
pub stage_flags: ShaderStageFlags,
pub p_immutable_samplers: *const Sampler,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§binding: u32
§descriptor_type: DescriptorType
§descriptor_count: u32
§stage_flags: ShaderStageFlags
§p_immutable_samplers: *const Sampler
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> DescriptorSetLayoutBinding<'a>
impl<'a> DescriptorSetLayoutBinding<'a>
pub fn binding(self, binding: u32) -> Self
pub fn descriptor_type(self, descriptor_type: DescriptorType) -> Self
pub fn descriptor_count(self, descriptor_count: u32) -> Self
pub fn stage_flags(self, stage_flags: ShaderStageFlags) -> Self
pub fn immutable_samplers(self, immutable_samplers: &'a [Sampler]) -> Self
Trait Implementations§
source§impl<'a> Clone for DescriptorSetLayoutBinding<'a>
impl<'a> Clone for DescriptorSetLayoutBinding<'a>
source§fn clone(&self) -> DescriptorSetLayoutBinding<'a>
fn clone(&self) -> DescriptorSetLayoutBinding<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for DescriptorSetLayoutBinding<'a>
impl<'a> Debug for DescriptorSetLayoutBinding<'a>
source§impl Default for DescriptorSetLayoutBinding<'_>
impl Default for DescriptorSetLayoutBinding<'_>
impl<'a> Copy for DescriptorSetLayoutBinding<'a>
impl Send for DescriptorSetLayoutBinding<'_>
impl Sync for DescriptorSetLayoutBinding<'_>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)