Struct gfx::pso::PipelineState [−][src]
pub struct PipelineState<R: Resources, M>(_, _, _);
A strongly typed Pipleline State Object. See the module documentation for more information.
Implementations
impl<R: Resources, M> PipelineState<R, M>
[src][−]
pub 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.
pub fn get_handle(&self) -> &RawPipelineState<R>
[src][−]
Get a raw handle reference.
pub 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][+]
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][+]
impl<R: PartialEq + Resources, M: PartialEq> PartialEq<PipelineState<R, M>> for PipelineState<R, M>
[src][+]
impl<R: Resources, M> StructuralEq for PipelineState<R, M>
[src]
impl<R: Resources, M> StructuralPartialEq for PipelineState<R, M>
[src]
Auto Trait Implementations
impl<R, M> RefUnwindSafe for PipelineState<R, M> where
M: RefUnwindSafe,
<R as Resources>::PipelineStateObject: RefUnwindSafe,
<R as Resources>::Program: RefUnwindSafe,
M: RefUnwindSafe,
<R as Resources>::PipelineStateObject: RefUnwindSafe,
<R as Resources>::Program: RefUnwindSafe,
impl<R, M> Send for PipelineState<R, M> where
M: Send,
M: Send,
impl<R, M> Sync for PipelineState<R, M> where
M: Sync,
M: Sync,
impl<R, M> Unpin for PipelineState<R, M> where
M: Unpin,
M: Unpin,
impl<R, M> UnwindSafe for PipelineState<R, M> where
M: UnwindSafe,
<R as Resources>::PipelineStateObject: RefUnwindSafe,
<R as Resources>::Program: RefUnwindSafe,
M: UnwindSafe,
<R as Resources>::PipelineStateObject: RefUnwindSafe,
<R as Resources>::Program: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,