[−][src]Struct gfx::pso::PipelineState
A strongly typed Pipleline State Object. See the module documentation for more information.
Methods
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: Eq + Resources, M: Eq> Eq for PipelineState<R, M>
[src]
impl<R: Clone + Resources, M: Clone> Clone for PipelineState<R, M>
[src]
fn clone(&self) -> PipelineState<R, M>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<R: PartialEq + Resources, M: PartialEq> PartialEq<PipelineState<R, M>> for PipelineState<R, M>
[src]
fn eq(&self, other: &PipelineState<R, M>) -> bool
[src]
fn ne(&self, other: &PipelineState<R, M>) -> bool
[src]
impl<R: Hash + Resources, M: Hash> Hash for PipelineState<R, M>
[src]
fn hash<__HRM: Hasher>(&self, state: &mut __HRM)
[src]
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: Debug + Resources, M: Debug> Debug for PipelineState<R, M>
[src]
Auto Trait Implementations
impl<R, M> Send for PipelineState<R, M> where
M: Send,
<R as Resources>::PipelineStateObject: Send + Sync,
<R as Resources>::Program: Send + Sync,
M: Send,
<R as Resources>::PipelineStateObject: Send + Sync,
<R as Resources>::Program: Send + Sync,
impl<R, M> Sync for PipelineState<R, M> where
M: Sync,
<R as Resources>::PipelineStateObject: Send + Sync,
<R as Resources>::Program: Send + Sync,
M: Sync,
<R as Resources>::PipelineStateObject: Send + Sync,
<R as Resources>::Program: Send + Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,