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§
Sourceunsafe fn cmd_execute_generated_commands_ext(
&self,
command_buffer: CommandBuffer,
is_preprocessed: bool,
generated_commands_info: &GeneratedCommandsInfoEXT,
)
unsafe fn cmd_execute_generated_commands_ext( &self, command_buffer: CommandBuffer, is_preprocessed: bool, generated_commands_info: &GeneratedCommandsInfoEXT, )
Sourceunsafe fn cmd_preprocess_generated_commands_ext(
&self,
command_buffer: CommandBuffer,
generated_commands_info: &GeneratedCommandsInfoEXT,
state_command_buffer: CommandBuffer,
)
unsafe fn cmd_preprocess_generated_commands_ext( &self, command_buffer: CommandBuffer, generated_commands_info: &GeneratedCommandsInfoEXT, state_command_buffer: CommandBuffer, )
Sourceunsafe fn create_indirect_commands_layout_ext(
&self,
create_info: &IndirectCommandsLayoutCreateInfoEXT,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<IndirectCommandsLayoutEXT>
unsafe fn create_indirect_commands_layout_ext( &self, create_info: &IndirectCommandsLayoutCreateInfoEXT, allocator: Option<&AllocationCallbacks>, ) -> VkResult<IndirectCommandsLayoutEXT>
Sourceunsafe fn create_indirect_execution_set_ext(
&self,
create_info: &IndirectExecutionSetCreateInfoEXT,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<IndirectExecutionSetEXT>
unsafe fn create_indirect_execution_set_ext( &self, create_info: &IndirectExecutionSetCreateInfoEXT, allocator: Option<&AllocationCallbacks>, ) -> VkResult<IndirectExecutionSetEXT>
Sourceunsafe fn destroy_indirect_commands_layout_ext(
&self,
indirect_commands_layout: IndirectCommandsLayoutEXT,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_indirect_commands_layout_ext( &self, indirect_commands_layout: IndirectCommandsLayoutEXT, allocator: Option<&AllocationCallbacks>, )
Sourceunsafe fn destroy_indirect_execution_set_ext(
&self,
indirect_execution_set: IndirectExecutionSetEXT,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_indirect_execution_set_ext( &self, indirect_execution_set: IndirectExecutionSetEXT, allocator: Option<&AllocationCallbacks>, )
Sourceunsafe fn get_generated_commands_memory_requirements_ext(
&self,
info: &GeneratedCommandsMemoryRequirementsInfoEXT,
memory_requirements: &mut MemoryRequirements2,
)
unsafe fn get_generated_commands_memory_requirements_ext( &self, info: &GeneratedCommandsMemoryRequirementsInfoEXT, memory_requirements: &mut MemoryRequirements2, )
Sourceunsafe 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_pipeline_ext( &self, indirect_execution_set: IndirectExecutionSetEXT, execution_set_writes: &[impl Cast<Target = WriteIndirectExecutionSetPipelineEXT>], )
Sourceunsafe fn update_indirect_execution_set_shader_ext(
&self,
indirect_execution_set: IndirectExecutionSetEXT,
execution_set_writes: &[impl Cast<Target = WriteIndirectExecutionSetShaderEXT>],
)
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.