[−][src]Struct vulkayes_core::framebuffer::Framebuffer
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]
render_pass: Vrc<RenderPass>,
attachments: impl Iterator<Item = Vrc<ImageView>>,
dimensions: [NonZeroU32; 2],
layers: NonZeroU32,
host_memory_allocator: HostMemoryAllocator
) -> Result<Vrc<Self>, FramebufferError>
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]
render_pass: Vrc<RenderPass>,
attachments: Vec<Vrc<ImageView>>,
create_info: impl Deref<Target = FramebufferCreateInfo>,
host_memory_allocator: HostMemoryAllocator
) -> Result<Vrc<Self>, FramebufferError>
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]
fn borrow(&self) -> &Framebuffer
[src]
impl Debug for Framebuffer
[src]
impl Deref for Framebuffer
[src]
type Target = Framebuffer
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Drop for Framebuffer
[src]
impl Eq for Framebuffer
[src]
impl HasHandle<Framebuffer> for Framebuffer
[src]
fn handle(&self) -> T
[src]
fn safe_handle(&self) -> SafeHandle<'_, T>
[src]
impl Hash for Framebuffer
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Framebuffer
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Framebuffer> for Framebuffer
[src]
impl PartialOrd<Framebuffer> for Framebuffer
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Framebuffer
[src]
impl !Send for Framebuffer
[src]
impl !Sync for Framebuffer
[src]
impl Unpin for Framebuffer
[src]
impl !UnwindSafe for Framebuffer
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,