Struct gfx::pso::PipelineState
source · pub struct PipelineState<R: Resources, M>(_, _, _);
Expand description
A strongly typed Pipleline State Object. See the module documentation for more information.
Implementations§
source§impl<R: Resources, M> PipelineState<R, M>
impl<R: Resources, M> PipelineState<R, M>
sourcepub fn new(
raw: RawPipelineState<R>,
prim: Primitive,
meta: M
) -> PipelineState<R, M>
pub fn new( raw: RawPipelineState<R>, prim: Primitive, meta: M ) -> PipelineState<R, M>
Create a new PSO from a raw handle and the “meta” instance.
sourcepub fn get_handle(&self) -> &RawPipelineState<R>
pub fn get_handle(&self) -> &RawPipelineState<R>
Get a raw handle reference.
Trait Implementations§
source§impl<R: Clone + Resources, M: Clone> Clone for PipelineState<R, M>
impl<R: Clone + Resources, M: Clone> Clone for PipelineState<R, M>
source§fn clone(&self) -> PipelineState<R, M>
fn clone(&self) -> PipelineState<R, M>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<R: PartialEq + Resources, M: PartialEq> PartialEq<PipelineState<R, M>> for PipelineState<R, M>
impl<R: PartialEq + Resources, M: PartialEq> PartialEq<PipelineState<R, M>> for PipelineState<R, M>
source§fn eq(&self, other: &PipelineState<R, M>) -> bool
fn eq(&self, other: &PipelineState<R, M>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.