Trait vulkano::pipeline::GraphicsPipelineAbstract[][src]

pub unsafe trait GraphicsPipelineAbstract: VertexSource<Vec<Arc<dyn BufferAccess + Send + Sync>>> + DeviceOwned {
    fn inner(&self) -> GraphicsPipelineSys<'_>;
fn layout(&self) -> &Arc<PipelineLayout>;
fn subpass(&self) -> &Subpass;
fn vertex_input(&self) -> &VertexInput;
fn has_dynamic_line_width(&self) -> bool;
fn num_viewports(&self) -> u32;
fn has_dynamic_viewports(&self) -> bool;
fn has_dynamic_scissors(&self) -> bool;
fn has_dynamic_depth_bounds(&self) -> bool;
fn has_dynamic_stencil_compare_mask(&self) -> bool;
fn has_dynamic_stencil_write_mask(&self) -> bool;
fn has_dynamic_stencil_reference(&self) -> bool; }
Expand description

Trait implemented on objects that reference a graphics pipeline. Can be made into a trait object. When using this trait AutoCommandBufferBuilder::draw* calls will need the buffers to be wrapped in a vec!().

Required methods

Returns an opaque object that represents the inside of the graphics pipeline.

Returns the pipeline layout used in the constructor.

Returns the subpass this graphics pipeline is rendering to.

Returns the vertex input description of the graphics pipeline.

Returns true if the line width used by this pipeline is dynamic.

Returns the number of viewports and scissors of this pipeline.

Returns true if the viewports used by this pipeline are dynamic.

Returns true if the scissors used by this pipeline are dynamic.

Returns true if the depth bounds used by this pipeline are dynamic.

Returns true if the stencil compare masks used by this pipeline are dynamic.

Returns true if the stencil write masks used by this pipeline are dynamic.

Returns true if the stencil references used by this pipeline are dynamic.

Trait Implementations

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Implementors