pub struct DescriptorSetLayoutCreateInfo {
pub flags: DescriptorSetLayoutCreateFlags,
pub bindings: BTreeMap<u32, DescriptorSetLayoutBinding>,
pub _ne: NonExhaustive,
}Expand description
Parameters to create a new DescriptorSetLayout.
Fields§
§flags: DescriptorSetLayoutCreateFlagsSpecifies how to create the descriptor set layout.
bindings: BTreeMap<u32, DescriptorSetLayoutBinding>The bindings of the desriptor set layout. These are specified according to binding number.
It is generally advisable to keep the binding numbers low. Higher binding numbers may use more memory inside Vulkan.
The default value is empty.
_ne: NonExhaustiveTrait Implementations§
Source§impl Clone for DescriptorSetLayoutCreateInfo
impl Clone for DescriptorSetLayoutCreateInfo
Source§fn clone(&self) -> DescriptorSetLayoutCreateInfo
fn clone(&self) -> DescriptorSetLayoutCreateInfo
Returns a duplicate 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 Default for DescriptorSetLayoutCreateInfo
impl Default for DescriptorSetLayoutCreateInfo
Source§fn default() -> DescriptorSetLayoutCreateInfo
fn default() -> DescriptorSetLayoutCreateInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DescriptorSetLayoutCreateInfo
impl !RefUnwindSafe for DescriptorSetLayoutCreateInfo
impl Send for DescriptorSetLayoutCreateInfo
impl Sync for DescriptorSetLayoutCreateInfo
impl Unpin for DescriptorSetLayoutCreateInfo
impl !UnwindSafe for DescriptorSetLayoutCreateInfo
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