Struct ash::extensions::Swapchain
[−]
[src]
pub struct Swapchain { /* fields omitted */ }
Methods
impl Swapchain
[src]
fn new<I: InstanceV1_0, D: DeviceV1_0>(instance: &I,
device: &D)
-> Result<Swapchain, Vec<&'static str>>
device: &D)
-> Result<Swapchain, Vec<&'static str>>
fn name() -> &'static CStr
unsafe fn destroy_swapchain_khr(&self,
swapchain: SwapchainKHR,
allocation_callbacks: Option<&AllocationCallbacks>)
swapchain: SwapchainKHR,
allocation_callbacks: Option<&AllocationCallbacks>)
unsafe fn acquire_next_image_khr(&self,
swapchain: SwapchainKHR,
timeout: uint64_t,
semaphore: Semaphore,
fence: Fence)
-> VkResult<uint32_t>
swapchain: SwapchainKHR,
timeout: uint64_t,
semaphore: Semaphore,
fence: Fence)
-> VkResult<uint32_t>
unsafe fn create_swapchain_khr(&self,
create_info: &SwapchainCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>)
-> VkResult<SwapchainKHR>
create_info: &SwapchainCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>)
-> VkResult<SwapchainKHR>
unsafe fn queue_present_khr(&self,
queue: Queue,
create_info: &PresentInfoKHR)
-> VkResult<()>
queue: Queue,
create_info: &PresentInfoKHR)
-> VkResult<()>
fn get_swapchain_images_khr(&self,
swapchain: SwapchainKHR)
-> VkResult<Vec<Image>>
swapchain: SwapchainKHR)
-> VkResult<Vec<Image>>
Trait Implementations
impl Clone for Swapchain
[src]
fn clone(&self) -> Swapchain
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more