[][src]Struct ash::vk::KhrDeviceGroupFn

pub struct KhrDeviceGroupFn {
    pub get_device_group_peer_memory_features_khr: extern "system" fn(device: Device, heap_index: u32, local_device_index: u32, remote_device_index: u32, p_peer_memory_features: *mut PeerMemoryFeatureFlags) -> c_void,
    pub cmd_set_device_mask_khr: extern "system" fn(command_buffer: CommandBuffer, device_mask: u32) -> c_void,
    pub cmd_dispatch_base_khr: extern "system" fn(command_buffer: CommandBuffer, base_group_x: u32, base_group_y: u32, base_group_z: u32, group_count_x: u32, group_count_y: u32, group_count_z: u32) -> c_void,
    pub get_device_group_present_capabilities_khr: extern "system" fn(device: Device, p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR) -> Result,
    pub get_device_group_surface_present_modes_khr: extern "system" fn(device: Device, surface: SurfaceKHR, p_modes: *mut DeviceGroupPresentModeFlagsKHR) -> Result,
    pub get_physical_device_present_rectangles_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_rect_count: *mut u32, p_rects: *mut Rect2D) -> Result,
    pub acquire_next_image2_khr: extern "system" fn(device: Device, p_acquire_info: *const AcquireNextImageInfoKHR, p_image_index: *mut u32) -> Result,
}

Fields

get_device_group_peer_memory_features_khr: extern "system" fn(device: Device, heap_index: u32, local_device_index: u32, remote_device_index: u32, p_peer_memory_features: *mut PeerMemoryFeatureFlags) -> c_voidcmd_set_device_mask_khr: extern "system" fn(command_buffer: CommandBuffer, device_mask: u32) -> c_voidcmd_dispatch_base_khr: extern "system" fn(command_buffer: CommandBuffer, base_group_x: u32, base_group_y: u32, base_group_z: u32, group_count_x: u32, group_count_y: u32, group_count_z: u32) -> c_voidget_device_group_present_capabilities_khr: extern "system" fn(device: Device, p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR) -> Resultget_device_group_surface_present_modes_khr: extern "system" fn(device: Device, surface: SurfaceKHR, p_modes: *mut DeviceGroupPresentModeFlagsKHR) -> Resultget_physical_device_present_rectangles_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_rect_count: *mut u32, p_rects: *mut Rect2D) -> Resultacquire_next_image2_khr: extern "system" fn(device: Device, p_acquire_info: *const AcquireNextImageInfoKHR, p_image_index: *mut u32) -> Result

Methods

impl KhrDeviceGroupFn[src]

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

impl KhrDeviceGroupFn[src]

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

pub unsafe fn get_device_group_peer_memory_features_khr(
    &self,
    device: Device,
    heap_index: u32,
    local_device_index: u32,
    remote_device_index: u32,
    p_peer_memory_features: *mut PeerMemoryFeatureFlags
) -> c_void
[src]

pub unsafe fn cmd_set_device_mask_khr(
    &self,
    command_buffer: CommandBuffer,
    device_mask: u32
) -> c_void
[src]

pub unsafe fn cmd_dispatch_base_khr(
    &self,
    command_buffer: CommandBuffer,
    base_group_x: u32,
    base_group_y: u32,
    base_group_z: u32,
    group_count_x: u32,
    group_count_y: u32,
    group_count_z: u32
) -> c_void
[src]

pub unsafe fn get_device_group_present_capabilities_khr(
    &self,
    device: Device,
    p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR
) -> Result
[src]

pub unsafe fn get_device_group_surface_present_modes_khr(
    &self,
    device: Device,
    surface: SurfaceKHR,
    p_modes: *mut DeviceGroupPresentModeFlagsKHR
) -> Result
[src]

pub unsafe fn get_physical_device_present_rectangles_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    p_rect_count: *mut u32,
    p_rects: *mut Rect2D
) -> Result
[src]

pub unsafe fn acquire_next_image2_khr(
    &self,
    device: Device,
    p_acquire_info: *const AcquireNextImageInfoKHR,
    p_image_index: *mut u32
) -> Result
[src]

Trait Implementations

impl Clone for KhrDeviceGroupFn[src]

impl Send for KhrDeviceGroupFn[src]

impl Sync for KhrDeviceGroupFn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrDeviceGroupFn

impl Unpin for KhrDeviceGroupFn

impl UnwindSafe for KhrDeviceGroupFn

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.