Struct pilka_incremental::ash::vk::NvDeviceGeneratedCommandsFn[]

pub struct NvDeviceGeneratedCommandsFn {
    pub get_generated_commands_memory_requirements_nv: extern "system" fn(Device, *const GeneratedCommandsMemoryRequirementsInfoNV, *mut MemoryRequirements2) -> c_void,
    pub cmd_preprocess_generated_commands_nv: extern "system" fn(CommandBuffer, *const GeneratedCommandsInfoNV) -> c_void,
    pub cmd_execute_generated_commands_nv: extern "system" fn(CommandBuffer, u32, *const GeneratedCommandsInfoNV) -> c_void,
    pub cmd_bind_pipeline_shader_group_nv: extern "system" fn(CommandBuffer, PipelineBindPoint, Pipeline, u32) -> c_void,
    pub create_indirect_commands_layout_nv: extern "system" fn(Device, *const IndirectCommandsLayoutCreateInfoNV, *const AllocationCallbacks, *mut IndirectCommandsLayoutNV) -> Result,
    pub destroy_indirect_commands_layout_nv: extern "system" fn(Device, IndirectCommandsLayoutNV, *const AllocationCallbacks) -> c_void,
}

Fields

get_generated_commands_memory_requirements_nv: extern "system" fn(Device, *const GeneratedCommandsMemoryRequirementsInfoNV, *mut MemoryRequirements2) -> c_voidcmd_preprocess_generated_commands_nv: extern "system" fn(CommandBuffer, *const GeneratedCommandsInfoNV) -> c_voidcmd_execute_generated_commands_nv: extern "system" fn(CommandBuffer, u32, *const GeneratedCommandsInfoNV) -> c_voidcmd_bind_pipeline_shader_group_nv: extern "system" fn(CommandBuffer, PipelineBindPoint, Pipeline, u32) -> c_voidcreate_indirect_commands_layout_nv: extern "system" fn(Device, *const IndirectCommandsLayoutCreateInfoNV, *const AllocationCallbacks, *mut IndirectCommandsLayoutNV) -> Resultdestroy_indirect_commands_layout_nv: extern "system" fn(Device, IndirectCommandsLayoutNV, *const AllocationCallbacks) -> c_void

Implementations

impl NvDeviceGeneratedCommandsFn

pub fn name() -> &'static CStr

impl NvDeviceGeneratedCommandsFn

pub fn load<F>(_f: F) -> NvDeviceGeneratedCommandsFn where
    F: FnMut(&CStr) -> *const c_void

pub unsafe fn get_generated_commands_memory_requirements_nv(
    &self,
    device: Device,
    p_info: *const GeneratedCommandsMemoryRequirementsInfoNV,
    p_memory_requirements: *mut MemoryRequirements2
) -> c_void

pub unsafe fn cmd_preprocess_generated_commands_nv(
    &self,
    command_buffer: CommandBuffer,
    p_generated_commands_info: *const GeneratedCommandsInfoNV
) -> c_void

pub unsafe fn cmd_execute_generated_commands_nv(
    &self,
    command_buffer: CommandBuffer,
    is_preprocessed: u32,
    p_generated_commands_info: *const GeneratedCommandsInfoNV
) -> c_void

pub unsafe fn cmd_bind_pipeline_shader_group_nv(
    &self,
    command_buffer: CommandBuffer,
    pipeline_bind_point: PipelineBindPoint,
    pipeline: Pipeline,
    group_index: u32
) -> c_void

pub unsafe fn create_indirect_commands_layout_nv(
    &self,
    device: Device,
    p_create_info: *const IndirectCommandsLayoutCreateInfoNV,
    p_allocator: *const AllocationCallbacks,
    p_indirect_commands_layout: *mut IndirectCommandsLayoutNV
) -> Result

pub unsafe fn destroy_indirect_commands_layout_nv(
    &self,
    device: Device,
    indirect_commands_layout: IndirectCommandsLayoutNV,
    p_allocator: *const AllocationCallbacks
) -> c_void

Trait Implementations

impl Clone for NvDeviceGeneratedCommandsFn

impl Send for NvDeviceGeneratedCommandsFn

impl Sync for NvDeviceGeneratedCommandsFn

Auto Trait Implementations

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.