[−][src]Struct bedrock::Framebuffer
Opaque handle to a framebuffer object
Methods
impl Framebuffer
[src]
pub fn new<Sz: AsRef<Extent2D>>(
mold: &RenderPass,
attachment_objects: &[&ImageView],
size: &Sz,
layers: u32
) -> Result<Self>
[src]
mold: &RenderPass,
attachment_objects: &[&ImageView],
size: &Sz,
layers: u32
) -> Result<Self>
Create a new framebuffer object
Failures
On failure, this command returns
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
impl Framebuffer
[src]
Trait Implementations
impl DeviceChild for Framebuffer
[src]
impl Drop for Framebuffer
[src]
impl VkHandle for Framebuffer
[src]
type Handle = VkFramebuffer
fn native_ptr(&self) -> VkFramebuffer
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Framebuffer
impl !Send for Framebuffer
impl !Sync for Framebuffer
impl Unpin for Framebuffer
impl !UnwindSafe for Framebuffer
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,
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.
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>,