Struct wgpu_hal::gles::RenderPipeline
source · pub struct RenderPipeline {
inner: Arc<PipelineInner>,
primitive: PrimitiveState,
vertex_buffers: Box<[VertexBufferDesc]>,
vertex_attributes: Box<[AttributeDesc]>,
color_targets: Box<[ColorTargetDesc]>,
depth: Option<DepthState>,
depth_bias: DepthBiasState,
stencil: Option<StencilState>,
alpha_to_coverage_enabled: bool,
}
Fields§
§inner: Arc<PipelineInner>
§primitive: PrimitiveState
§vertex_buffers: Box<[VertexBufferDesc]>
§vertex_attributes: Box<[AttributeDesc]>
§color_targets: Box<[ColorTargetDesc]>
§depth: Option<DepthState>
§depth_bias: DepthBiasState
§stencil: Option<StencilState>
§alpha_to_coverage_enabled: bool
Trait Implementations§
source§impl Debug for RenderPipeline
impl Debug for RenderPipeline
source§impl DynResource for RenderPipeline
impl DynResource for RenderPipeline
impl DynRenderPipeline for RenderPipeline
impl Send for RenderPipeline
impl Sync for RenderPipeline
Auto Trait Implementations§
impl Freeze for RenderPipeline
impl RefUnwindSafe for RenderPipeline
impl Unpin for RenderPipeline
impl UnwindSafe for RenderPipeline
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