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>
fn new(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>
Get a raw handle reference.
fn get_meta(&self) -> &M
Get a "meta" struct reference. Can be used by the user to check what resources are actually used and what not.