Struct voodoo::GraphicsPipeline
[−]
[src]
pub struct GraphicsPipeline { /* fields omitted */ }
A graphics pipeline.
Destruction
Dropping this GraphicsPipeline
will cause Device::destroy_pipeline
to be called,
automatically releasing any resources associated with it.
Methods
impl GraphicsPipeline
[src]
pub fn builder<'b>() -> GraphicsPipelineBuilder<'b>
[src]
Returns a new GraphicsPipelineBuilder
.
pub fn create<'b, Gpb>(
device: &Device,
builders: &[Gpb]
) -> VdResult<SmallVec<[GraphicsPipeline; 8]>> where
Gpb: AsRef<GraphicsPipelineCreateInfo<'b>>,
[src]
device: &Device,
builders: &[Gpb]
) -> VdResult<SmallVec<[GraphicsPipeline; 8]>> where
Gpb: AsRef<GraphicsPipelineCreateInfo<'b>>,
Deprecated
: use Device::create_graphics_pipelines
Creates several graphics pipelines at once.
pub fn handle(&self) -> PipelineHandle
[src]
Returns this object's handle.
pub fn device(&self) -> &Device
[src]
Returns a reference to the associated device.
Trait Implementations
impl Debug for GraphicsPipeline
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for GraphicsPipeline
[src]
fn clone(&self) -> GraphicsPipeline
[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