[][src]Struct vulkayes_core::framebuffer::Framebuffer

pub struct Framebuffer { /* fields omitted */ }

Implementations

impl Framebuffer[src]

pub fn new(
    render_pass: Vrc<RenderPass>,
    attachments: impl Iterator<Item = Vrc<ImageView>>,
    dimensions: [NonZeroU32; 2],
    layers: NonZeroU32,
    host_memory_allocator: HostMemoryAllocator
) -> Result<Vrc<Self>, FramebufferError>
[src]

pub unsafe fn from_create_info(
    render_pass: Vrc<RenderPass>,
    attachments: Vec<Vrc<ImageView>>,
    create_info: impl Deref<Target = FramebufferCreateInfo>,
    host_memory_allocator: HostMemoryAllocator
) -> Result<Vrc<Self>, FramebufferError>
[src]

pub const fn render_pass(&self) -> &Vrc<RenderPass>[src]

pub const fn attachments(&self) -> &Vec<Vrc<ImageView>>[src]

Methods from Deref<Target = Framebuffer>

Trait Implementations

impl Borrow<Framebuffer> for Framebuffer[src]

impl Debug for Framebuffer[src]

impl Deref for Framebuffer[src]

type Target = Framebuffer

The resulting type after dereferencing.

impl Drop for Framebuffer[src]

impl Eq for Framebuffer[src]

impl HasHandle<Framebuffer> for Framebuffer[src]

impl Hash for Framebuffer[src]

impl Ord for Framebuffer[src]

impl PartialEq<Framebuffer> for Framebuffer[src]

impl PartialOrd<Framebuffer> for Framebuffer[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.