Struct gfx::pso::PipelineState
[−]
[src]
pub struct PipelineState<R: Resources, M>(_, _, _);
A strongly typed Pipleline State Object. See the module documentation for more information.
Methods
impl<R: Resources, M> PipelineState<R, M>
[src]
fn new(
raw: RawPipelineState<R>,
prim: Primitive,
meta: M
) -> PipelineState<R, M>
[src]
raw: RawPipelineState<R>,
prim: Primitive,
meta: M
) -> PipelineState<R, M>
Create a new PSO from a raw handle and the "meta" instance.
fn get_handle(&self) -> &RawPipelineState<R>
[src]
Get a raw handle reference.
fn get_meta(&self) -> &M
[src]
Get a "meta" struct reference. Can be used by the user to check what resources are actually used and what not.
Trait Implementations
impl<R: Clone + Resources, M: Clone> Clone for PipelineState<R, M>
[src]
fn clone(&self) -> PipelineState<R, M>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<R: Debug + Resources, M: Debug> Debug for PipelineState<R, M>
[src]
impl<R: Eq + Resources, M: Eq> Eq for PipelineState<R, M>
[src]
impl<R: Hash + Resources, M: Hash> Hash for PipelineState<R, M>
[src]
fn hash<__HRM: Hasher>(&self, __arg_0: &mut __HRM)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<R: PartialEq + Resources, M: PartialEq> PartialEq for PipelineState<R, M>
[src]
fn eq(&self, __arg_0: &PipelineState<R, M>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PipelineState<R, M>) -> bool
[src]
This method tests for !=
.