[][src]Struct vulkano::framebuffer::EmptySinglePassRenderPassDesc

pub struct EmptySinglePassRenderPassDesc;

Description of an empty render pass.

Can be used to create a render pass with one subpass and no attachment.


use vulkano::framebuffer::EmptySinglePassRenderPassDesc;
use vulkano::framebuffer::RenderPassDesc;

let rp = EmptySinglePassRenderPassDesc.build_render_pass(device.clone());

Trait Implementations

impl RenderPassDesc for EmptySinglePassRenderPassDesc[src]

Important traits for RenderPassDescAttachments<'a, R>
fn attachment_descs(&self) -> RenderPassDescAttachments<Self> where
    Self: Sized

Returns an iterator to the list of attachments.

Important traits for RenderPassDescSubpasses<'a, R>
fn subpass_descs(&self) -> RenderPassDescSubpasses<Self> where
    Self: Sized

Returns an iterator to the list of subpasses.

Important traits for RenderPassDescDependencies<'a, R>
fn dependency_descs(&self) -> RenderPassDescDependencies<Self> where
    Self: Sized

Returns an iterator to the list of dependencies.

fn is_compatible_with<T: ?Sized>(&self, other: &T) -> bool where
    Self: Sized,
    T: RenderPassDesc

Returns true if this render pass is compatible with another render pass. Read more

fn build_render_pass(
    device: Arc<Device>
) -> Result<RenderPass<Self>, RenderPassCreationError> where
    Self: Sized

Builds a render pass from this description. Read more

impl RenderPassDescClearValues<Vec<ClearValue>> for EmptySinglePassRenderPassDesc[src]

impl RenderPassDescClearValues<()> for EmptySinglePassRenderPassDesc[src]

impl Clone for EmptySinglePassRenderPassDesc[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for EmptySinglePassRenderPassDesc[src]

impl Debug for EmptySinglePassRenderPassDesc[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized