[][src]Struct ash::vk::KhrDisplayFn

pub struct KhrDisplayFn {
    pub get_physical_device_display_properties_khr: extern "system" fn(physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPropertiesKHR) -> Result,
    pub get_physical_device_display_plane_properties_khr: extern "system" fn(physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPlanePropertiesKHR) -> Result,
    pub get_display_plane_supported_displays_khr: extern "system" fn(physical_device: PhysicalDevice, plane_index: u32, p_display_count: *mut u32, p_displays: *mut DisplayKHR) -> Result,
    pub get_display_mode_properties_khr: extern "system" fn(physical_device: PhysicalDevice, display: DisplayKHR, p_property_count: *mut u32, p_properties: *mut DisplayModePropertiesKHR) -> Result,
    pub create_display_mode_khr: extern "system" fn(physical_device: PhysicalDevice, display: DisplayKHR, p_create_info: *const DisplayModeCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_mode: *mut DisplayModeKHR) -> Result,
    pub get_display_plane_capabilities_khr: extern "system" fn(physical_device: PhysicalDevice, mode: DisplayModeKHR, plane_index: u32, p_capabilities: *mut DisplayPlaneCapabilitiesKHR) -> Result,
    pub create_display_plane_surface_khr: extern "system" fn(instance: Instance, p_create_info: *const DisplaySurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR) -> Result,
}

Fields

get_physical_device_display_properties_khr: extern "system" fn(physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPropertiesKHR) -> Resultget_physical_device_display_plane_properties_khr: extern "system" fn(physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPlanePropertiesKHR) -> Resultget_display_plane_supported_displays_khr: extern "system" fn(physical_device: PhysicalDevice, plane_index: u32, p_display_count: *mut u32, p_displays: *mut DisplayKHR) -> Resultget_display_mode_properties_khr: extern "system" fn(physical_device: PhysicalDevice, display: DisplayKHR, p_property_count: *mut u32, p_properties: *mut DisplayModePropertiesKHR) -> Resultcreate_display_mode_khr: extern "system" fn(physical_device: PhysicalDevice, display: DisplayKHR, p_create_info: *const DisplayModeCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_mode: *mut DisplayModeKHR) -> Resultget_display_plane_capabilities_khr: extern "system" fn(physical_device: PhysicalDevice, mode: DisplayModeKHR, plane_index: u32, p_capabilities: *mut DisplayPlaneCapabilitiesKHR) -> Resultcreate_display_plane_surface_khr: extern "system" fn(instance: Instance, p_create_info: *const DisplaySurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR) -> Result

Methods

impl KhrDisplayFn[src]

pub fn name() -> &'static CStr[src]

impl KhrDisplayFn[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn get_physical_device_display_properties_khr(
    &self,
    physical_device: PhysicalDevice,
    p_property_count: *mut u32,
    p_properties: *mut DisplayPropertiesKHR
) -> Result
[src]

pub unsafe fn get_physical_device_display_plane_properties_khr(
    &self,
    physical_device: PhysicalDevice,
    p_property_count: *mut u32,
    p_properties: *mut DisplayPlanePropertiesKHR
) -> Result
[src]

pub unsafe fn get_display_plane_supported_displays_khr(
    &self,
    physical_device: PhysicalDevice,
    plane_index: u32,
    p_display_count: *mut u32,
    p_displays: *mut DisplayKHR
) -> Result
[src]

pub unsafe fn get_display_mode_properties_khr(
    &self,
    physical_device: PhysicalDevice,
    display: DisplayKHR,
    p_property_count: *mut u32,
    p_properties: *mut DisplayModePropertiesKHR
) -> Result
[src]

pub unsafe fn create_display_mode_khr(
    &self,
    physical_device: PhysicalDevice,
    display: DisplayKHR,
    p_create_info: *const DisplayModeCreateInfoKHR,
    p_allocator: *const AllocationCallbacks,
    p_mode: *mut DisplayModeKHR
) -> Result
[src]

pub unsafe fn get_display_plane_capabilities_khr(
    &self,
    physical_device: PhysicalDevice,
    mode: DisplayModeKHR,
    plane_index: u32,
    p_capabilities: *mut DisplayPlaneCapabilitiesKHR
) -> Result
[src]

pub unsafe fn create_display_plane_surface_khr(
    &self,
    instance: Instance,
    p_create_info: *const DisplaySurfaceCreateInfoKHR,
    p_allocator: *const AllocationCallbacks,
    p_surface: *mut SurfaceKHR
) -> Result
[src]

Trait Implementations

impl Sync for KhrDisplayFn[src]

impl Clone for KhrDisplayFn[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Send for KhrDisplayFn[src]

Auto Trait Implementations

impl Unpin for KhrDisplayFn

impl UnwindSafe for KhrDisplayFn

impl RefUnwindSafe for KhrDisplayFn

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]