pub struct PipelineLayoutCreateInfo {
pub set_layouts: Vec<Arc<DescriptorSetLayout>>,
pub push_constant_ranges: Vec<PushConstantRange>,
pub _ne: NonExhaustive,
}
Expand description
Parameters to create a new PipelineLayout
.
Fields
set_layouts: Vec<Arc<DescriptorSetLayout>>
The descriptor set layouts that should be part of the pipeline layout.
They are provided in order of set number.
The default value is empty.
push_constant_ranges: Vec<PushConstantRange>
The ranges of push constants that the pipeline will access.
A shader stage can only appear in one element of the list, but it is possible to combine ranges for multiple shader stages if they are the same.
The default value is empty.
_ne: NonExhaustive
Trait Implementations
sourceimpl Clone for PipelineLayoutCreateInfo
impl Clone for PipelineLayoutCreateInfo
sourcefn clone(&self) -> PipelineLayoutCreateInfo
fn clone(&self) -> PipelineLayoutCreateInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PipelineLayoutCreateInfo
impl Debug for PipelineLayoutCreateInfo
Auto Trait Implementations
impl RefUnwindSafe for PipelineLayoutCreateInfo
impl Send for PipelineLayoutCreateInfo
impl Sync for PipelineLayoutCreateInfo
impl Unpin for PipelineLayoutCreateInfo
impl UnwindSafe for PipelineLayoutCreateInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more