Struct ash::vk::KhrRayTracingFn [−][src]
pub struct KhrRayTracingFn {}Show 22 fields
pub create_acceleration_structure_khr: extern "system" fn(device: Device, p_create_info: *const AccelerationStructureCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_acceleration_structure: *mut AccelerationStructureKHR) -> Result, pub destroy_acceleration_structure_khr: extern "system" fn(device: Device, acceleration_structure: AccelerationStructureKHR, p_allocator: *const AllocationCallbacks) -> c_void, pub get_acceleration_structure_memory_requirements_khr: extern "system" fn(device: Device, p_info: *const AccelerationStructureMemoryRequirementsInfoKHR, p_memory_requirements: *mut MemoryRequirements2) -> c_void, pub bind_acceleration_structure_memory_khr: extern "system" fn(device: Device, bind_info_count: u32, p_bind_infos: *const BindAccelerationStructureMemoryInfoKHR) -> Result, pub cmd_build_acceleration_structure_khr: extern "system" fn(command_buffer: CommandBuffer, info_count: u32, p_infos: *const AccelerationStructureBuildGeometryInfoKHR, pp_offset_infos: *const *const AccelerationStructureBuildOffsetInfoKHR) -> c_void, pub cmd_build_acceleration_structure_indirect_khr: extern "system" fn(command_buffer: CommandBuffer, p_info: *const AccelerationStructureBuildGeometryInfoKHR, indirect_buffer: Buffer, indirect_offset: DeviceSize, indirect_stride: u32) -> c_void, pub build_acceleration_structure_khr: extern "system" fn(device: Device, info_count: u32, p_infos: *const AccelerationStructureBuildGeometryInfoKHR, pp_offset_infos: *const *const AccelerationStructureBuildOffsetInfoKHR) -> Result, pub copy_acceleration_structure_khr: extern "system" fn(device: Device, p_info: *const CopyAccelerationStructureInfoKHR) -> Result, pub copy_acceleration_structure_to_memory_khr: extern "system" fn(device: Device, p_info: *const CopyAccelerationStructureToMemoryInfoKHR) -> Result, pub copy_memory_to_acceleration_structure_khr: extern "system" fn(device: Device, p_info: *const CopyMemoryToAccelerationStructureInfoKHR) -> Result, pub write_acceleration_structures_properties_khr: extern "system" fn(device: Device, acceleration_structure_count: u32, p_acceleration_structures: *const AccelerationStructureKHR, query_type: QueryType, data_size: usize, p_data: *mut c_void, stride: usize) -> Result, pub cmd_copy_acceleration_structure_khr: extern "system" fn(command_buffer: CommandBuffer, p_info: *const CopyAccelerationStructureInfoKHR) -> c_void, pub cmd_copy_acceleration_structure_to_memory_khr: extern "system" fn(command_buffer: CommandBuffer, p_info: *const CopyAccelerationStructureToMemoryInfoKHR) -> c_void, pub cmd_copy_memory_to_acceleration_structure_khr: extern "system" fn(command_buffer: CommandBuffer, p_info: *const CopyMemoryToAccelerationStructureInfoKHR) -> c_void, pub cmd_trace_rays_khr: extern "system" fn(command_buffer: CommandBuffer, p_raygen_shader_binding_table: *const StridedBufferRegionKHR, p_miss_shader_binding_table: *const StridedBufferRegionKHR, p_hit_shader_binding_table: *const StridedBufferRegionKHR, p_callable_shader_binding_table: *const StridedBufferRegionKHR, width: u32, height: u32, depth: u32) -> c_void, pub create_ray_tracing_pipelines_khr: extern "system" fn(device: Device, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const RayTracingPipelineCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline) -> Result, pub get_ray_tracing_shader_group_handles_khr: extern "system" fn(device: Device, pipeline: Pipeline, first_group: u32, group_count: u32, data_size: usize, p_data: *mut c_void) -> Result, pub get_acceleration_structure_device_address_khr: extern "system" fn(device: Device, p_info: *const AccelerationStructureDeviceAddressInfoKHR) -> DeviceAddress, pub get_ray_tracing_capture_replay_shader_group_handles_khr: extern "system" fn(device: Device, pipeline: Pipeline, first_group: u32, group_count: u32, data_size: usize, p_data: *mut c_void) -> Result, pub cmd_write_acceleration_structures_properties_khr: extern "system" fn(command_buffer: CommandBuffer, acceleration_structure_count: u32, p_acceleration_structures: *const AccelerationStructureKHR, query_type: QueryType, query_pool: QueryPool, first_query: u32) -> c_void, pub cmd_trace_rays_indirect_khr: extern "system" fn(command_buffer: CommandBuffer, p_raygen_shader_binding_table: *const StridedBufferRegionKHR, p_miss_shader_binding_table: *const StridedBufferRegionKHR, p_hit_shader_binding_table: *const StridedBufferRegionKHR, p_callable_shader_binding_table: *const StridedBufferRegionKHR, buffer: Buffer, offset: DeviceSize) -> c_void, pub get_device_acceleration_structure_compatibility_khr: extern "system" fn(device: Device, version: *const AccelerationStructureVersionKHR) -> Result,
Fields
create_acceleration_structure_khr: extern "system" fn(device: Device, p_create_info: *const AccelerationStructureCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_acceleration_structure: *mut AccelerationStructureKHR) -> Result
destroy_acceleration_structure_khr: extern "system" fn(device: Device, acceleration_structure: AccelerationStructureKHR, p_allocator: *const AllocationCallbacks) -> c_void
get_acceleration_structure_memory_requirements_khr: extern "system" fn(device: Device, p_info: *const AccelerationStructureMemoryRequirementsInfoKHR, p_memory_requirements: *mut MemoryRequirements2) -> c_void
bind_acceleration_structure_memory_khr: extern "system" fn(device: Device, bind_info_count: u32, p_bind_infos: *const BindAccelerationStructureMemoryInfoKHR) -> Result
cmd_build_acceleration_structure_khr: extern "system" fn(command_buffer: CommandBuffer, info_count: u32, p_infos: *const AccelerationStructureBuildGeometryInfoKHR, pp_offset_infos: *const *const AccelerationStructureBuildOffsetInfoKHR) -> c_void
cmd_build_acceleration_structure_indirect_khr: extern "system" fn(command_buffer: CommandBuffer, p_info: *const AccelerationStructureBuildGeometryInfoKHR, indirect_buffer: Buffer, indirect_offset: DeviceSize, indirect_stride: u32) -> c_void
build_acceleration_structure_khr: extern "system" fn(device: Device, info_count: u32, p_infos: *const AccelerationStructureBuildGeometryInfoKHR, pp_offset_infos: *const *const AccelerationStructureBuildOffsetInfoKHR) -> Result
copy_acceleration_structure_khr: extern "system" fn(device: Device, p_info: *const CopyAccelerationStructureInfoKHR) -> Result
copy_acceleration_structure_to_memory_khr: extern "system" fn(device: Device, p_info: *const CopyAccelerationStructureToMemoryInfoKHR) -> Result
copy_memory_to_acceleration_structure_khr: extern "system" fn(device: Device, p_info: *const CopyMemoryToAccelerationStructureInfoKHR) -> Result
write_acceleration_structures_properties_khr: extern "system" fn(device: Device, acceleration_structure_count: u32, p_acceleration_structures: *const AccelerationStructureKHR, query_type: QueryType, data_size: usize, p_data: *mut c_void, stride: usize) -> Result
cmd_copy_acceleration_structure_khr: extern "system" fn(command_buffer: CommandBuffer, p_info: *const CopyAccelerationStructureInfoKHR) -> c_void
cmd_copy_acceleration_structure_to_memory_khr: extern "system" fn(command_buffer: CommandBuffer, p_info: *const CopyAccelerationStructureToMemoryInfoKHR) -> c_void
cmd_copy_memory_to_acceleration_structure_khr: extern "system" fn(command_buffer: CommandBuffer, p_info: *const CopyMemoryToAccelerationStructureInfoKHR) -> c_void
cmd_trace_rays_khr: extern "system" fn(command_buffer: CommandBuffer, p_raygen_shader_binding_table: *const StridedBufferRegionKHR, p_miss_shader_binding_table: *const StridedBufferRegionKHR, p_hit_shader_binding_table: *const StridedBufferRegionKHR, p_callable_shader_binding_table: *const StridedBufferRegionKHR, width: u32, height: u32, depth: u32) -> c_void
create_ray_tracing_pipelines_khr: extern "system" fn(device: Device, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const RayTracingPipelineCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline) -> Result
get_ray_tracing_shader_group_handles_khr: extern "system" fn(device: Device, pipeline: Pipeline, first_group: u32, group_count: u32, data_size: usize, p_data: *mut c_void) -> Result
get_acceleration_structure_device_address_khr: extern "system" fn(device: Device, p_info: *const AccelerationStructureDeviceAddressInfoKHR) -> DeviceAddress
get_ray_tracing_capture_replay_shader_group_handles_khr: extern "system" fn(device: Device, pipeline: Pipeline, first_group: u32, group_count: u32, data_size: usize, p_data: *mut c_void) -> Result
cmd_write_acceleration_structures_properties_khr: extern "system" fn(command_buffer: CommandBuffer, acceleration_structure_count: u32, p_acceleration_structures: *const AccelerationStructureKHR, query_type: QueryType, query_pool: QueryPool, first_query: u32) -> c_void
cmd_trace_rays_indirect_khr: extern "system" fn(command_buffer: CommandBuffer, p_raygen_shader_binding_table: *const StridedBufferRegionKHR, p_miss_shader_binding_table: *const StridedBufferRegionKHR, p_hit_shader_binding_table: *const StridedBufferRegionKHR, p_callable_shader_binding_table: *const StridedBufferRegionKHR, buffer: Buffer, offset: DeviceSize) -> c_void
get_device_acceleration_structure_compatibility_khr: extern "system" fn(device: Device, version: *const AccelerationStructureVersionKHR) -> Result
Implementations
pub unsafe fn create_acceleration_structure_khr(
&self,
device: Device,
p_create_info: *const AccelerationStructureCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_acceleration_structure: *mut AccelerationStructureKHR
) -> Result
pub unsafe fn create_acceleration_structure_khr(
&self,
device: Device,
p_create_info: *const AccelerationStructureCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_acceleration_structure: *mut AccelerationStructureKHR
) -> Result
pub unsafe fn destroy_acceleration_structure_khr(
&self,
device: Device,
acceleration_structure: AccelerationStructureKHR,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_acceleration_structure_khr(
&self,
device: Device,
acceleration_structure: AccelerationStructureKHR,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn get_acceleration_structure_memory_requirements_khr(
&self,
device: Device,
p_info: *const AccelerationStructureMemoryRequirementsInfoKHR,
p_memory_requirements: *mut MemoryRequirements2
) -> c_void
pub unsafe fn get_acceleration_structure_memory_requirements_khr(
&self,
device: Device,
p_info: *const AccelerationStructureMemoryRequirementsInfoKHR,
p_memory_requirements: *mut MemoryRequirements2
) -> c_void
pub unsafe fn bind_acceleration_structure_memory_khr(
&self,
device: Device,
bind_info_count: u32,
p_bind_infos: *const BindAccelerationStructureMemoryInfoKHR
) -> Result
pub unsafe fn bind_acceleration_structure_memory_khr(
&self,
device: Device,
bind_info_count: u32,
p_bind_infos: *const BindAccelerationStructureMemoryInfoKHR
) -> Result
pub unsafe fn cmd_build_acceleration_structure_khr(
&self,
command_buffer: CommandBuffer,
info_count: u32,
p_infos: *const AccelerationStructureBuildGeometryInfoKHR,
pp_offset_infos: *const *const AccelerationStructureBuildOffsetInfoKHR
) -> c_void
pub unsafe fn cmd_build_acceleration_structure_khr(
&self,
command_buffer: CommandBuffer,
info_count: u32,
p_infos: *const AccelerationStructureBuildGeometryInfoKHR,
pp_offset_infos: *const *const AccelerationStructureBuildOffsetInfoKHR
) -> c_void
pub unsafe fn cmd_build_acceleration_structure_indirect_khr(
&self,
command_buffer: CommandBuffer,
p_info: *const AccelerationStructureBuildGeometryInfoKHR,
indirect_buffer: Buffer,
indirect_offset: DeviceSize,
indirect_stride: u32
) -> c_void
pub unsafe fn cmd_build_acceleration_structure_indirect_khr(
&self,
command_buffer: CommandBuffer,
p_info: *const AccelerationStructureBuildGeometryInfoKHR,
indirect_buffer: Buffer,
indirect_offset: DeviceSize,
indirect_stride: u32
) -> c_void
pub unsafe fn build_acceleration_structure_khr(
&self,
device: Device,
info_count: u32,
p_infos: *const AccelerationStructureBuildGeometryInfoKHR,
pp_offset_infos: *const *const AccelerationStructureBuildOffsetInfoKHR
) -> Result
pub unsafe fn build_acceleration_structure_khr(
&self,
device: Device,
info_count: u32,
p_infos: *const AccelerationStructureBuildGeometryInfoKHR,
pp_offset_infos: *const *const AccelerationStructureBuildOffsetInfoKHR
) -> Result
pub unsafe fn copy_acceleration_structure_khr(
&self,
device: Device,
p_info: *const CopyAccelerationStructureInfoKHR
) -> Result
pub unsafe fn copy_acceleration_structure_khr(
&self,
device: Device,
p_info: *const CopyAccelerationStructureInfoKHR
) -> Result
pub unsafe fn copy_acceleration_structure_to_memory_khr(
&self,
device: Device,
p_info: *const CopyAccelerationStructureToMemoryInfoKHR
) -> Result
pub unsafe fn copy_acceleration_structure_to_memory_khr(
&self,
device: Device,
p_info: *const CopyAccelerationStructureToMemoryInfoKHR
) -> Result
pub unsafe fn copy_memory_to_acceleration_structure_khr(
&self,
device: Device,
p_info: *const CopyMemoryToAccelerationStructureInfoKHR
) -> Result
pub unsafe fn copy_memory_to_acceleration_structure_khr(
&self,
device: Device,
p_info: *const CopyMemoryToAccelerationStructureInfoKHR
) -> Result
pub unsafe fn cmd_copy_acceleration_structure_khr(
&self,
command_buffer: CommandBuffer,
p_info: *const CopyAccelerationStructureInfoKHR
) -> c_void
pub unsafe fn cmd_copy_acceleration_structure_khr(
&self,
command_buffer: CommandBuffer,
p_info: *const CopyAccelerationStructureInfoKHR
) -> c_void
pub unsafe fn cmd_copy_acceleration_structure_to_memory_khr(
&self,
command_buffer: CommandBuffer,
p_info: *const CopyAccelerationStructureToMemoryInfoKHR
) -> c_void
pub unsafe fn cmd_copy_acceleration_structure_to_memory_khr(
&self,
command_buffer: CommandBuffer,
p_info: *const CopyAccelerationStructureToMemoryInfoKHR
) -> c_void
pub unsafe fn cmd_copy_memory_to_acceleration_structure_khr(
&self,
command_buffer: CommandBuffer,
p_info: *const CopyMemoryToAccelerationStructureInfoKHR
) -> c_void
pub unsafe fn cmd_copy_memory_to_acceleration_structure_khr(
&self,
command_buffer: CommandBuffer,
p_info: *const CopyMemoryToAccelerationStructureInfoKHR
) -> c_void
pub unsafe fn cmd_trace_rays_khr(
&self,
command_buffer: CommandBuffer,
p_raygen_shader_binding_table: *const StridedBufferRegionKHR,
p_miss_shader_binding_table: *const StridedBufferRegionKHR,
p_hit_shader_binding_table: *const StridedBufferRegionKHR,
p_callable_shader_binding_table: *const StridedBufferRegionKHR,
width: u32,
height: u32,
depth: u32
) -> c_void
pub unsafe fn cmd_trace_rays_khr(
&self,
command_buffer: CommandBuffer,
p_raygen_shader_binding_table: *const StridedBufferRegionKHR,
p_miss_shader_binding_table: *const StridedBufferRegionKHR,
p_hit_shader_binding_table: *const StridedBufferRegionKHR,
p_callable_shader_binding_table: *const StridedBufferRegionKHR,
width: u32,
height: u32,
depth: u32
) -> c_void
pub unsafe fn create_ray_tracing_pipelines_khr(
&self,
device: Device,
pipeline_cache: PipelineCache,
create_info_count: u32,
p_create_infos: *const RayTracingPipelineCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_pipelines: *mut Pipeline
) -> Result
pub unsafe fn create_ray_tracing_pipelines_khr(
&self,
device: Device,
pipeline_cache: PipelineCache,
create_info_count: u32,
p_create_infos: *const RayTracingPipelineCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_pipelines: *mut Pipeline
) -> Result
pub unsafe fn get_acceleration_structure_device_address_khr(
&self,
device: Device,
p_info: *const AccelerationStructureDeviceAddressInfoKHR
) -> DeviceAddress
pub unsafe fn get_acceleration_structure_device_address_khr(
&self,
device: Device,
p_info: *const AccelerationStructureDeviceAddressInfoKHR
) -> DeviceAddress
pub unsafe fn cmd_write_acceleration_structures_properties_khr(
&self,
command_buffer: CommandBuffer,
acceleration_structure_count: u32,
p_acceleration_structures: *const AccelerationStructureKHR,
query_type: QueryType,
query_pool: QueryPool,
first_query: u32
) -> c_void
pub unsafe fn cmd_write_acceleration_structures_properties_khr(
&self,
command_buffer: CommandBuffer,
acceleration_structure_count: u32,
p_acceleration_structures: *const AccelerationStructureKHR,
query_type: QueryType,
query_pool: QueryPool,
first_query: u32
) -> c_void
pub unsafe fn cmd_trace_rays_indirect_khr(
&self,
command_buffer: CommandBuffer,
p_raygen_shader_binding_table: *const StridedBufferRegionKHR,
p_miss_shader_binding_table: *const StridedBufferRegionKHR,
p_hit_shader_binding_table: *const StridedBufferRegionKHR,
p_callable_shader_binding_table: *const StridedBufferRegionKHR,
buffer: Buffer,
offset: DeviceSize
) -> c_void
pub unsafe fn cmd_trace_rays_indirect_khr(
&self,
command_buffer: CommandBuffer,
p_raygen_shader_binding_table: *const StridedBufferRegionKHR,
p_miss_shader_binding_table: *const StridedBufferRegionKHR,
p_hit_shader_binding_table: *const StridedBufferRegionKHR,
p_callable_shader_binding_table: *const StridedBufferRegionKHR,
buffer: Buffer,
offset: DeviceSize
) -> c_void
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KhrRayTracingFn
impl Unpin for KhrRayTracingFn
impl UnwindSafe for KhrRayTracingFn
Blanket Implementations
Mutably borrows from an owned value. Read more