pub struct DescriptorSetLayoutCreateInfo {
pub flags: DescriptorSetLayoutCreateFlags,
pub bindings: BTreeMap<u32, DescriptorSetLayoutBinding>,
pub _ne: NonExhaustive,
}
Expand description
Parameters to create a new DescriptorSetLayout
.
Fields§
§flags: DescriptorSetLayoutCreateFlags
Specifies 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: NonExhaustive
Trait Implementations§
source§impl Clone for DescriptorSetLayoutCreateInfo
impl Clone for DescriptorSetLayoutCreateInfo
source§fn clone(&self) -> DescriptorSetLayoutCreateInfo
fn clone(&self) -> DescriptorSetLayoutCreateInfo
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 moreAuto Trait Implementations§
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