Skip to main content

create_framebuffer

Function create_framebuffer 

Source
pub unsafe fn create_framebuffer(
    device: VkHandleRef<'_, VkDevice>,
    create_info: &FramebufferCreateInfo<'_, '_>,
    allocation_callbacks: Option<&VkAllocationCallbacks>,
) -> Result<VkFramebuffer>
Expand description

ยงSafety

renderPass and attachments in create_info must be created from device.