ExtDeviceGeneratedCommandsExtensionDeviceCommands

Trait ExtDeviceGeneratedCommandsExtensionDeviceCommands 

Source
pub trait ExtDeviceGeneratedCommandsExtensionDeviceCommands: DeviceV1_0 {
    // Provided methods
    unsafe fn cmd_execute_generated_commands_ext(
        &self,
        command_buffer: CommandBuffer,
        is_preprocessed: bool,
        generated_commands_info: &GeneratedCommandsInfoEXT,
    ) { ... }
    unsafe fn cmd_preprocess_generated_commands_ext(
        &self,
        command_buffer: CommandBuffer,
        generated_commands_info: &GeneratedCommandsInfoEXT,
        state_command_buffer: CommandBuffer,
    ) { ... }
    unsafe fn create_indirect_commands_layout_ext(
        &self,
        create_info: &IndirectCommandsLayoutCreateInfoEXT,
        allocator: Option<&AllocationCallbacks>,
    ) -> VkResult<IndirectCommandsLayoutEXT> { ... }
    unsafe fn create_indirect_execution_set_ext(
        &self,
        create_info: &IndirectExecutionSetCreateInfoEXT,
        allocator: Option<&AllocationCallbacks>,
    ) -> VkResult<IndirectExecutionSetEXT> { ... }
    unsafe fn destroy_indirect_commands_layout_ext(
        &self,
        indirect_commands_layout: IndirectCommandsLayoutEXT,
        allocator: Option<&AllocationCallbacks>,
    ) { ... }
    unsafe fn destroy_indirect_execution_set_ext(
        &self,
        indirect_execution_set: IndirectExecutionSetEXT,
        allocator: Option<&AllocationCallbacks>,
    ) { ... }
    unsafe fn get_generated_commands_memory_requirements_ext(
        &self,
        info: &GeneratedCommandsMemoryRequirementsInfoEXT,
        memory_requirements: &mut MemoryRequirements2,
    ) { ... }
    unsafe fn update_indirect_execution_set_pipeline_ext(
        &self,
        indirect_execution_set: IndirectExecutionSetEXT,
        execution_set_writes: &[impl Cast<Target = WriteIndirectExecutionSetPipelineEXT>],
    ) { ... }
    unsafe fn update_indirect_execution_set_shader_ext(
        &self,
        indirect_execution_set: IndirectExecutionSetEXT,
        execution_set_writes: &[impl Cast<Target = WriteIndirectExecutionSetShaderEXT>],
    ) { ... }
}
Expand description

The device-level commands added by EXT_DEVICE_GENERATED_COMMANDS_EXTENSION.

Provided Methods§

Source

unsafe fn cmd_execute_generated_commands_ext( &self, command_buffer: CommandBuffer, is_preprocessed: bool, generated_commands_info: &GeneratedCommandsInfoEXT, )

Source

unsafe fn cmd_preprocess_generated_commands_ext( &self, command_buffer: CommandBuffer, generated_commands_info: &GeneratedCommandsInfoEXT, state_command_buffer: CommandBuffer, )

Source

unsafe fn create_indirect_commands_layout_ext( &self, create_info: &IndirectCommandsLayoutCreateInfoEXT, allocator: Option<&AllocationCallbacks>, ) -> VkResult<IndirectCommandsLayoutEXT>

Source

unsafe fn create_indirect_execution_set_ext( &self, create_info: &IndirectExecutionSetCreateInfoEXT, allocator: Option<&AllocationCallbacks>, ) -> VkResult<IndirectExecutionSetEXT>

Source

unsafe fn destroy_indirect_commands_layout_ext( &self, indirect_commands_layout: IndirectCommandsLayoutEXT, allocator: Option<&AllocationCallbacks>, )

Source

unsafe fn destroy_indirect_execution_set_ext( &self, indirect_execution_set: IndirectExecutionSetEXT, allocator: Option<&AllocationCallbacks>, )

Source

unsafe fn get_generated_commands_memory_requirements_ext( &self, info: &GeneratedCommandsMemoryRequirementsInfoEXT, memory_requirements: &mut MemoryRequirements2, )

Source

unsafe fn update_indirect_execution_set_pipeline_ext( &self, indirect_execution_set: IndirectExecutionSetEXT, execution_set_writes: &[impl Cast<Target = WriteIndirectExecutionSetPipelineEXT>], )

Source

unsafe fn update_indirect_execution_set_shader_ext( &self, indirect_execution_set: IndirectExecutionSetEXT, execution_set_writes: &[impl Cast<Target = WriteIndirectExecutionSetShaderEXT>], )

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§