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,
}Available on
gles only.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: boolTrait 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
Available on
send_sync only.impl Sync for RenderPipeline
Available on
send_sync only.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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more