pub struct RenderPipelineDescriptor {
pub label: Option<String>,
pub layout: Option<PipelineLayout>,
pub vertex: Option<VertexState>,
pub primitive: Option<PrimitiveState>,
pub depth_stencil: Option<DepthStencilState>,
pub multisample: Option<MultisampleState>,
pub fragment: Option<FragmentState>,
/* private fields */
}Fields§
§label: Option<String>§layout: Option<PipelineLayout>§vertex: Option<VertexState>§primitive: Option<PrimitiveState>§depth_stencil: Option<DepthStencilState>§multisample: Option<MultisampleState>§fragment: Option<FragmentState>Implementations§
Source§impl RenderPipelineDescriptor
impl RenderPipelineDescriptor
pub fn new() -> Self
pub fn with_extension( self, extension: RenderPipelineDescriptorExtension, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderPipelineDescriptor
impl RefUnwindSafe for RenderPipelineDescriptor
impl Send for RenderPipelineDescriptor
impl Sync for RenderPipelineDescriptor
impl Unpin for RenderPipelineDescriptor
impl UnsafeUnpin for RenderPipelineDescriptor
impl UnwindSafe for RenderPipelineDescriptor
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