pub struct GraphicsPipelineBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> GraphicsPipelineBuilder<'a>
impl<'a> GraphicsPipelineBuilder<'a>
pub fn new() -> Self
pub fn with_shader_stage(self, stage: ShaderStageDescriptor<'a>) -> Self
pub fn with_render_pass(self, render_pass: RenderPass) -> Self
pub fn with_layout(self, layout: PipelineLayout) -> Self
pub fn with_vertex_input_state(self, state: VertexInputDescriptor) -> Self
pub fn with_input_assembly_state( self, state: PipelineInputAssemblyStateCreateInfo<'a>, ) -> Self
pub fn with_viewport_state(self, viewport: Viewport) -> Self
pub fn with_rasterization_state(self, state: RasterizationState) -> Self
pub fn with_multisample_state(self, state: MultisampleState) -> Self
pub fn with_color_blend_state(self, state: ColorBlendState) -> Self
pub fn with_subpass(self, subpass: u32) -> Self
pub fn with_extent(self, width: u32, height: u32) -> Self
pub fn with_depth_stencil_state(self, state: DepthStencilState) -> Self
pub fn build(self, device: &Device) -> Result<GraphicsPipeline, Error>
Auto Trait Implementations§
impl<'a> Freeze for GraphicsPipelineBuilder<'a>
impl<'a> RefUnwindSafe for GraphicsPipelineBuilder<'a>
impl<'a> Send for GraphicsPipelineBuilder<'a>
impl<'a> Sync for GraphicsPipelineBuilder<'a>
impl<'a> Unpin for GraphicsPipelineBuilder<'a>
impl<'a> UnsafeUnpin for GraphicsPipelineBuilder<'a>
impl<'a> UnwindSafe for GraphicsPipelineBuilder<'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