Struct vulkano::pipeline::layout::PipelineLayoutCreateInfo
source · pub struct PipelineLayoutCreateInfo {
pub flags: PipelineLayoutCreateFlags,
pub set_layouts: Vec<Arc<DescriptorSetLayout>>,
pub push_constant_ranges: Vec<PushConstantRange>,
pub _ne: NonExhaustive,
}
Expand description
Parameters to create a new PipelineLayout
.
Fields§
§flags: PipelineLayoutCreateFlags
Additional properties of the pipeline layout.
The default value is empty.
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§
source§impl Clone for PipelineLayoutCreateInfo
impl Clone for PipelineLayoutCreateInfo
source§fn clone(&self) -> PipelineLayoutCreateInfo
fn clone(&self) -> PipelineLayoutCreateInfo
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 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§
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