[][src]Struct ash::vk::NvxDeviceGeneratedCommandsFn

pub struct NvxDeviceGeneratedCommandsFn {
    pub cmd_process_commands_nvx: extern "system" fn(command_buffer: CommandBuffer, p_process_commands_info: *const CmdProcessCommandsInfoNVX) -> c_void,
    pub cmd_reserve_space_for_commands_nvx: extern "system" fn(command_buffer: CommandBuffer, p_reserve_space_info: *const CmdReserveSpaceForCommandsInfoNVX) -> c_void,
    pub create_indirect_commands_layout_nvx: extern "system" fn(device: Device, p_create_info: *const IndirectCommandsLayoutCreateInfoNVX, p_allocator: *const AllocationCallbacks, p_indirect_commands_layout: *mut IndirectCommandsLayoutNVX) -> Result,
    pub destroy_indirect_commands_layout_nvx: extern "system" fn(device: Device, indirect_commands_layout: IndirectCommandsLayoutNVX, p_allocator: *const AllocationCallbacks) -> c_void,
    pub create_object_table_nvx: extern "system" fn(device: Device, p_create_info: *const ObjectTableCreateInfoNVX, p_allocator: *const AllocationCallbacks, p_object_table: *mut ObjectTableNVX) -> Result,
    pub destroy_object_table_nvx: extern "system" fn(device: Device, object_table: ObjectTableNVX, p_allocator: *const AllocationCallbacks) -> c_void,
    pub register_objects_nvx: extern "system" fn(device: Device, object_table: ObjectTableNVX, object_count: u32, pp_object_table_entries: *const *const ObjectTableEntryNVX, p_object_indices: *const u32) -> Result,
    pub unregister_objects_nvx: extern "system" fn(device: Device, object_table: ObjectTableNVX, object_count: u32, p_object_entry_types: *const ObjectEntryTypeNVX, p_object_indices: *const u32) -> Result,
    pub get_physical_device_generated_commands_properties_nvx: extern "system" fn(physical_device: PhysicalDevice, p_features: *mut DeviceGeneratedCommandsFeaturesNVX, p_limits: *mut DeviceGeneratedCommandsLimitsNVX) -> c_void,
}

Fields

cmd_process_commands_nvx: extern "system" fn(command_buffer: CommandBuffer, p_process_commands_info: *const CmdProcessCommandsInfoNVX) -> c_voidcmd_reserve_space_for_commands_nvx: extern "system" fn(command_buffer: CommandBuffer, p_reserve_space_info: *const CmdReserveSpaceForCommandsInfoNVX) -> c_voidcreate_indirect_commands_layout_nvx: extern "system" fn(device: Device, p_create_info: *const IndirectCommandsLayoutCreateInfoNVX, p_allocator: *const AllocationCallbacks, p_indirect_commands_layout: *mut IndirectCommandsLayoutNVX) -> Resultdestroy_indirect_commands_layout_nvx: extern "system" fn(device: Device, indirect_commands_layout: IndirectCommandsLayoutNVX, p_allocator: *const AllocationCallbacks) -> c_voidcreate_object_table_nvx: extern "system" fn(device: Device, p_create_info: *const ObjectTableCreateInfoNVX, p_allocator: *const AllocationCallbacks, p_object_table: *mut ObjectTableNVX) -> Resultdestroy_object_table_nvx: extern "system" fn(device: Device, object_table: ObjectTableNVX, p_allocator: *const AllocationCallbacks) -> c_voidregister_objects_nvx: extern "system" fn(device: Device, object_table: ObjectTableNVX, object_count: u32, pp_object_table_entries: *const *const ObjectTableEntryNVX, p_object_indices: *const u32) -> Resultunregister_objects_nvx: extern "system" fn(device: Device, object_table: ObjectTableNVX, object_count: u32, p_object_entry_types: *const ObjectEntryTypeNVX, p_object_indices: *const u32) -> Resultget_physical_device_generated_commands_properties_nvx: extern "system" fn(physical_device: PhysicalDevice, p_features: *mut DeviceGeneratedCommandsFeaturesNVX, p_limits: *mut DeviceGeneratedCommandsLimitsNVX) -> c_void

Methods

impl NvxDeviceGeneratedCommandsFn[src]

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

impl NvxDeviceGeneratedCommandsFn[src]

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

pub unsafe fn cmd_process_commands_nvx(
    &self,
    command_buffer: CommandBuffer,
    p_process_commands_info: *const CmdProcessCommandsInfoNVX
) -> c_void
[src]

pub unsafe fn cmd_reserve_space_for_commands_nvx(
    &self,
    command_buffer: CommandBuffer,
    p_reserve_space_info: *const CmdReserveSpaceForCommandsInfoNVX
) -> c_void
[src]

pub unsafe fn create_indirect_commands_layout_nvx(
    &self,
    device: Device,
    p_create_info: *const IndirectCommandsLayoutCreateInfoNVX,
    p_allocator: *const AllocationCallbacks,
    p_indirect_commands_layout: *mut IndirectCommandsLayoutNVX
) -> Result
[src]

pub unsafe fn destroy_indirect_commands_layout_nvx(
    &self,
    device: Device,
    indirect_commands_layout: IndirectCommandsLayoutNVX,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

pub unsafe fn create_object_table_nvx(
    &self,
    device: Device,
    p_create_info: *const ObjectTableCreateInfoNVX,
    p_allocator: *const AllocationCallbacks,
    p_object_table: *mut ObjectTableNVX
) -> Result
[src]

pub unsafe fn destroy_object_table_nvx(
    &self,
    device: Device,
    object_table: ObjectTableNVX,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

pub unsafe fn register_objects_nvx(
    &self,
    device: Device,
    object_table: ObjectTableNVX,
    object_count: u32,
    pp_object_table_entries: *const *const ObjectTableEntryNVX,
    p_object_indices: *const u32
) -> Result
[src]

pub unsafe fn unregister_objects_nvx(
    &self,
    device: Device,
    object_table: ObjectTableNVX,
    object_count: u32,
    p_object_entry_types: *const ObjectEntryTypeNVX,
    p_object_indices: *const u32
) -> Result
[src]

pub unsafe fn get_physical_device_generated_commands_properties_nvx(
    &self,
    physical_device: PhysicalDevice,
    p_features: *mut DeviceGeneratedCommandsFeaturesNVX,
    p_limits: *mut DeviceGeneratedCommandsLimitsNVX
) -> c_void
[src]

Trait Implementations

impl Sync for NvxDeviceGeneratedCommandsFn[src]

impl Clone for NvxDeviceGeneratedCommandsFn[src]

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

Performs copy-assignment from source. Read more

impl Send for NvxDeviceGeneratedCommandsFn[src]

Auto Trait Implementations

impl Unpin for NvxDeviceGeneratedCommandsFn

impl UnwindSafe for NvxDeviceGeneratedCommandsFn

impl RefUnwindSafe for NvxDeviceGeneratedCommandsFn

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]