pub struct PipelineParameters<'a> {
pub vertex_binding_descriptions: Vec<VertexBindingDescription>,
pub vertex_attribute_descriptions: Vec<VertexAttributeDescription>,
pub descriptor_set_layouts: &'a [&'a DescriptorSetLayout],
pub front_face: FrontFace,
pub cull_mode: CullModeFlags,
}Expand description
Aditional parameters for Pipeline creation.
Fields§
§vertex_binding_descriptions: Vec<VertexBindingDescription>BindingDescriptions of the vertex to be used by the pipeline.
vertex_attribute_descriptions: Vec<VertexAttributeDescription>AttributeDescriptions of the vertex to be used by the pipeline.
descriptor_set_layouts: &'a [&'a DescriptorSetLayout]DescriptorSetLayouts to be used by the pipeline.
front_face: FrontFaceDirection of the vertices to consider front-facing.
cull_mode: CullModeFlagsThe orientation of triangles to cull.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PipelineParameters<'a>
impl<'a> RefUnwindSafe for PipelineParameters<'a>
impl<'a> Send for PipelineParameters<'a>
impl<'a> Sync for PipelineParameters<'a>
impl<'a> Unpin for PipelineParameters<'a>
impl<'a> UnsafeUnpin for PipelineParameters<'a>
impl<'a> UnwindSafe for PipelineParameters<'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