pub unsafe fn create_framebuffer(&self, create_info: &FramebufferCreateInfo,
            allocator: Option<*const vks::VkAllocationCallbacks>) -> VdResult<FramebufferHandle> {
        let allocator = allocator.unwrap_or(ptr::null());
        let mut handle = 0;
        let result = self.proc_addr_loader().vk.vkCreateFramebuffer(self.handle().to_raw(),
            create_info.as_raw(), allocator, &mut handle);
        error::check(result, "vkCreateFramebuffer", FramebufferHandle(handle))
    }
/// Creates a new framebuffer object.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateFramebuffer.html
//
// *PFN_vkCreateFramebuffer)(VkDevice device, const
// VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks*
// pAllocator, VkFramebuffer* pFramebuffer);
Creates a new framebuffer object.


Creates a new framebuffer object .
pub unsafe fn create_framebuffer(&self, create_info: &FramebufferCreateInfo,
            allocator: Option<*const vks::VkAllocationCallbacks>) -> VdResult<FramebufferHandle> {
        let allocator = allocator.unwrap_or(ptr::null());
        let mut handle = 0;
        let result = self.proc_addr_loader().vk.vkCreateFramebuffer(self.handle().to_raw(),
            create_info.as_raw(), allocator, &mut handle);
        error::check(result, "vkCreateFramebuffer", FramebufferHandle(handle))
    }
pub unsafe fn create_framebuffer ( & self , create_info : & FramebufferCreateInfo , allocator : Option < * const vks :: VkAllocationCallbacks > ) -> VdResult < FramebufferHandle > { let allocator = allocator . unwrap_or ( ptr :: null ( ) ) ; let mut handle = 0 ; let result = self . proc_addr_loader ( ) . vk . vkCreateFramebuffer ( self . handle ( ) . to_raw ( ) , create_info . as_raw ( ) , allocator , & mut handle ) ; error :: check ( result , " " , FramebufferHandle ( handle ) ) }
Creates a new framebuffer object.
Creates a new framebuffer object .
&self
create_info
&FramebufferCreateInfo
allocator
Option<*const vks::VkAllocationCallbacks>
&self
create_info
&FramebufferCreateInfo
allocator
Option<*const vks::VkAllocationCallbacks>