Struct ash::vk::KhrSurfaceFn[][src]

pub struct KhrSurfaceFn {
    pub destroy_surface_khr: extern "system" fn(instance: Instance, surface: SurfaceKHR, p_allocator: *const AllocationCallbacks) -> c_void,
    pub get_physical_device_surface_support_khr: extern "system" fn(physical_device: PhysicalDevice, queue_family_index: u32, surface: SurfaceKHR, p_supported: *mut Bool32) -> Result,
    pub get_physical_device_surface_capabilities_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_capabilities: *mut SurfaceCapabilitiesKHR) -> Result,
    pub get_physical_device_surface_formats_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormatKHR) -> Result,
    pub get_physical_device_surface_present_modes_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_present_mode_count: *mut u32, p_present_modes: *mut PresentModeKHR) -> Result,
}

Fields

destroy_surface_khr: extern "system" fn(instance: Instance, surface: SurfaceKHR, p_allocator: *const AllocationCallbacks) -> c_voidget_physical_device_surface_support_khr: extern "system" fn(physical_device: PhysicalDevice, queue_family_index: u32, surface: SurfaceKHR, p_supported: *mut Bool32) -> Resultget_physical_device_surface_capabilities_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_capabilities: *mut SurfaceCapabilitiesKHR) -> Resultget_physical_device_surface_formats_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormatKHR) -> Resultget_physical_device_surface_present_modes_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_present_mode_count: *mut u32, p_present_modes: *mut PresentModeKHR) -> Result

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.