Struct voodoo::RenderPassBuilder
[−]
[src]
pub struct RenderPassBuilder<'b> { /* fields omitted */ }
A builder for RenderPass
.
Methods
impl<'b> RenderPassBuilder<'b>
[src]
fn new() -> RenderPassBuilder<'b>
[src]
Returns a new render pass builder.
fn attachments<'s, 'ad>(
&'s mut self,
attachments: &'ad [AttachmentDescription]
) -> &'s mut RenderPassBuilder<'b> where
'ad: 'b,
[src]
&'s mut self,
attachments: &'ad [AttachmentDescription]
) -> &'s mut RenderPassBuilder<'b> where
'ad: 'b,
pAttachments points to an array of attachmentCount number of VkAttachmentDescription structures describing properties of the attachments, or NULL if attachmentCount is zero.
fn subpasses<'s, 'ad>(
&'s mut self,
subpasses: &'ad [SubpassDescription]
) -> &'s mut RenderPassBuilder<'b> where
'ad: 'b,
[src]
&'s mut self,
subpasses: &'ad [SubpassDescription]
) -> &'s mut RenderPassBuilder<'b> where
'ad: 'b,
pSubpasses points to an array of subpassCount number of VkSubpassDescription structures describing properties of the subpasses.
fn dependencies<'s, 'ad>(
&'s mut self,
dependencies: &'ad [SubpassDependency]
) -> &'s mut RenderPassBuilder<'b> where
'ad: 'b,
[src]
&'s mut self,
dependencies: &'ad [SubpassDependency]
) -> &'s mut RenderPassBuilder<'b> where
'ad: 'b,
pDependencies points to an array of dependencyCount number of VkSubpassDependency structures describing dependencies between pairs of subpasses, or NULL if dependencyCount is zero.
fn build(&self, device: Device) -> VdResult<RenderPass>
[src]
Builds and returns a new RenderPass
Trait Implementations
impl<'b> Debug for RenderPassBuilder<'b>
[src]
impl<'b> Clone for RenderPassBuilder<'b>
[src]
fn clone(&self) -> RenderPassBuilder<'b>
[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