[][src]Struct ash::vk::NvDeviceGeneratedCommandsFn

pub struct NvDeviceGeneratedCommandsFn {
    pub get_generated_commands_memory_requirements_nv: extern "system" fn(device: Device, p_info: *const GeneratedCommandsMemoryRequirementsInfoNV, p_memory_requirements: *mut MemoryRequirements2) -> c_void,
    pub cmd_preprocess_generated_commands_nv: extern "system" fn(command_buffer: CommandBuffer, p_generated_commands_info: *const GeneratedCommandsInfoNV) -> c_void,
    pub cmd_execute_generated_commands_nv: extern "system" fn(command_buffer: CommandBuffer, is_preprocessed: Bool32, p_generated_commands_info: *const GeneratedCommandsInfoNV) -> c_void,
    pub cmd_bind_pipeline_shader_group_nv: extern "system" fn(command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, group_index: u32) -> c_void,
    pub create_indirect_commands_layout_nv: extern "system" fn(device: Device, p_create_info: *const IndirectCommandsLayoutCreateInfoNV, p_allocator: *const AllocationCallbacks, p_indirect_commands_layout: *mut IndirectCommandsLayoutNV) -> Result,
    pub destroy_indirect_commands_layout_nv: extern "system" fn(device: Device, indirect_commands_layout: IndirectCommandsLayoutNV, p_allocator: *const AllocationCallbacks) -> c_void,
}

Fields

get_generated_commands_memory_requirements_nv: extern "system" fn(device: Device, p_info: *const GeneratedCommandsMemoryRequirementsInfoNV, p_memory_requirements: *mut MemoryRequirements2) -> c_voidcmd_preprocess_generated_commands_nv: extern "system" fn(command_buffer: CommandBuffer, p_generated_commands_info: *const GeneratedCommandsInfoNV) -> c_voidcmd_execute_generated_commands_nv: extern "system" fn(command_buffer: CommandBuffer, is_preprocessed: Bool32, p_generated_commands_info: *const GeneratedCommandsInfoNV) -> c_voidcmd_bind_pipeline_shader_group_nv: extern "system" fn(command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, group_index: u32) -> c_voidcreate_indirect_commands_layout_nv: extern "system" fn(device: Device, p_create_info: *const IndirectCommandsLayoutCreateInfoNV, p_allocator: *const AllocationCallbacks, p_indirect_commands_layout: *mut IndirectCommandsLayoutNV) -> Resultdestroy_indirect_commands_layout_nv: extern "system" fn(device: Device, indirect_commands_layout: IndirectCommandsLayoutNV, p_allocator: *const AllocationCallbacks) -> c_void

Methods

impl NvDeviceGeneratedCommandsFn[src]

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

impl NvDeviceGeneratedCommandsFn[src]

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

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

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

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

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

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
[src]

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

Trait Implementations

impl Clone for NvDeviceGeneratedCommandsFn[src]

impl Send for NvDeviceGeneratedCommandsFn[src]

impl Sync for NvDeviceGeneratedCommandsFn[src]

Auto Trait Implementations

impl RefUnwindSafe for NvDeviceGeneratedCommandsFn

impl Unpin for NvDeviceGeneratedCommandsFn

impl UnwindSafe for NvDeviceGeneratedCommandsFn

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.