mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-02-16 17:12:29 +00:00
Add documentation for GraphicsPipelineAbstract (#1083)
This commit is contained in:
parent
23709fb011
commit
869c486053
@ -322,6 +322,8 @@ impl Drop for Inner {
|
||||
|
||||
/// 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!()`.
|
||||
pub unsafe trait GraphicsPipelineAbstract: PipelineLayoutAbstract + RenderPassAbstract + VertexSource<Vec<Arc<BufferAccess + Send + Sync>>> {
|
||||
/// Returns an opaque object that represents the inside of the graphics pipeline.
|
||||
fn inner(&self) -> GraphicsPipelineSys;
|
||||
|
Loading…
Reference in New Issue
Block a user