Struct ash::vk::NvRayTracingFn [−][src]
pub struct NvRayTracingFn { pub create_acceleration_structure_nv: extern "system" fn(device: Device, p_create_info: *const AccelerationStructureCreateInfoNV, p_allocator: *const AllocationCallbacks, p_acceleration_structure: *mut AccelerationStructureNV) -> Result, pub destroy_acceleration_structure_nv: extern "system" fn(device: Device, acceleration_structure: AccelerationStructureKHR, p_allocator: *const AllocationCallbacks) -> c_void, pub get_acceleration_structure_memory_requirements_nv: extern "system" fn(device: Device, p_info: *const AccelerationStructureMemoryRequirementsInfoNV, p_memory_requirements: *mut MemoryRequirements2KHR) -> c_void, pub bind_acceleration_structure_memory_nv: extern "system" fn(device: Device, bind_info_count: u32, p_bind_infos: *const BindAccelerationStructureMemoryInfoKHR) -> Result, pub cmd_build_acceleration_structure_nv: extern "system" fn(command_buffer: CommandBuffer, p_info: *const AccelerationStructureInfoNV, instance_data: Buffer, instance_offset: DeviceSize, update: Bool32, dst: AccelerationStructureKHR, src: AccelerationStructureKHR, scratch: Buffer, scratch_offset: DeviceSize) -> c_void, pub cmd_copy_acceleration_structure_nv: extern "system" fn(command_buffer: CommandBuffer, dst: AccelerationStructureKHR, src: AccelerationStructureKHR, mode: CopyAccelerationStructureModeKHR) -> c_void, pub cmd_trace_rays_nv: extern "system" fn(command_buffer: CommandBuffer, raygen_shader_binding_table_buffer: Buffer, raygen_shader_binding_offset: DeviceSize, miss_shader_binding_table_buffer: Buffer, miss_shader_binding_offset: DeviceSize, miss_shader_binding_stride: DeviceSize, hit_shader_binding_table_buffer: Buffer, hit_shader_binding_offset: DeviceSize, hit_shader_binding_stride: DeviceSize, callable_shader_binding_table_buffer: Buffer, callable_shader_binding_offset: DeviceSize, callable_shader_binding_stride: DeviceSize, width: u32, height: u32, depth: u32) -> c_void, pub create_ray_tracing_pipelines_nv: extern "system" fn(device: Device, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const RayTracingPipelineCreateInfoNV, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline) -> Result, pub get_ray_tracing_shader_group_handles_nv: 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_handle_nv: extern "system" fn(device: Device, acceleration_structure: AccelerationStructureKHR, data_size: usize, p_data: *mut c_void) -> Result, pub cmd_write_acceleration_structures_properties_nv: 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 compile_deferred_nv: extern "system" fn(device: Device, pipeline: Pipeline, shader: u32) -> Result, }
Fields
create_acceleration_structure_nv: extern "system" fn(device: Device, p_create_info: *const AccelerationStructureCreateInfoNV, p_allocator: *const AllocationCallbacks, p_acceleration_structure: *mut AccelerationStructureNV) -> Result
destroy_acceleration_structure_nv: extern "system" fn(device: Device, acceleration_structure: AccelerationStructureKHR, p_allocator: *const AllocationCallbacks) -> c_void
get_acceleration_structure_memory_requirements_nv: extern "system" fn(device: Device, p_info: *const AccelerationStructureMemoryRequirementsInfoNV, p_memory_requirements: *mut MemoryRequirements2KHR) -> c_void
bind_acceleration_structure_memory_nv: extern "system" fn(device: Device, bind_info_count: u32, p_bind_infos: *const BindAccelerationStructureMemoryInfoKHR) -> Result
cmd_build_acceleration_structure_nv: extern "system" fn(command_buffer: CommandBuffer, p_info: *const AccelerationStructureInfoNV, instance_data: Buffer, instance_offset: DeviceSize, update: Bool32, dst: AccelerationStructureKHR, src: AccelerationStructureKHR, scratch: Buffer, scratch_offset: DeviceSize) -> c_void
cmd_copy_acceleration_structure_nv: extern "system" fn(command_buffer: CommandBuffer, dst: AccelerationStructureKHR, src: AccelerationStructureKHR, mode: CopyAccelerationStructureModeKHR) -> c_void
cmd_trace_rays_nv: extern "system" fn(command_buffer: CommandBuffer, raygen_shader_binding_table_buffer: Buffer, raygen_shader_binding_offset: DeviceSize, miss_shader_binding_table_buffer: Buffer, miss_shader_binding_offset: DeviceSize, miss_shader_binding_stride: DeviceSize, hit_shader_binding_table_buffer: Buffer, hit_shader_binding_offset: DeviceSize, hit_shader_binding_stride: DeviceSize, callable_shader_binding_table_buffer: Buffer, callable_shader_binding_offset: DeviceSize, callable_shader_binding_stride: DeviceSize, width: u32, height: u32, depth: u32) -> c_void
create_ray_tracing_pipelines_nv: extern "system" fn(device: Device, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const RayTracingPipelineCreateInfoNV, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline) -> Result
get_ray_tracing_shader_group_handles_nv: 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_handle_nv: extern "system" fn(device: Device, acceleration_structure: AccelerationStructureKHR, data_size: usize, p_data: *mut c_void) -> Result
cmd_write_acceleration_structures_properties_nv: 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
compile_deferred_nv: extern "system" fn(device: Device, pipeline: Pipeline, shader: u32) -> Result
Implementations
pub unsafe fn create_acceleration_structure_nv(
&self,
device: Device,
p_create_info: *const AccelerationStructureCreateInfoNV,
p_allocator: *const AllocationCallbacks,
p_acceleration_structure: *mut AccelerationStructureNV
) -> Result
pub unsafe fn create_acceleration_structure_nv(
&self,
device: Device,
p_create_info: *const AccelerationStructureCreateInfoNV,
p_allocator: *const AllocationCallbacks,
p_acceleration_structure: *mut AccelerationStructureNV
) -> Result
pub unsafe fn destroy_acceleration_structure_nv(
&self,
device: Device,
acceleration_structure: AccelerationStructureKHR,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_acceleration_structure_nv(
&self,
device: Device,
acceleration_structure: AccelerationStructureKHR,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn get_acceleration_structure_memory_requirements_nv(
&self,
device: Device,
p_info: *const AccelerationStructureMemoryRequirementsInfoNV,
p_memory_requirements: *mut MemoryRequirements2KHR
) -> c_void
pub unsafe fn get_acceleration_structure_memory_requirements_nv(
&self,
device: Device,
p_info: *const AccelerationStructureMemoryRequirementsInfoNV,
p_memory_requirements: *mut MemoryRequirements2KHR
) -> c_void
pub unsafe fn bind_acceleration_structure_memory_nv(
&self,
device: Device,
bind_info_count: u32,
p_bind_infos: *const BindAccelerationStructureMemoryInfoKHR
) -> Result
pub unsafe fn bind_acceleration_structure_memory_nv(
&self,
device: Device,
bind_info_count: u32,
p_bind_infos: *const BindAccelerationStructureMemoryInfoKHR
) -> Result
pub unsafe fn cmd_build_acceleration_structure_nv(
&self,
command_buffer: CommandBuffer,
p_info: *const AccelerationStructureInfoNV,
instance_data: Buffer,
instance_offset: DeviceSize,
update: Bool32,
dst: AccelerationStructureKHR,
src: AccelerationStructureKHR,
scratch: Buffer,
scratch_offset: DeviceSize
) -> c_void
pub unsafe fn cmd_build_acceleration_structure_nv(
&self,
command_buffer: CommandBuffer,
p_info: *const AccelerationStructureInfoNV,
instance_data: Buffer,
instance_offset: DeviceSize,
update: Bool32,
dst: AccelerationStructureKHR,
src: AccelerationStructureKHR,
scratch: Buffer,
scratch_offset: DeviceSize
) -> c_void
pub unsafe fn cmd_copy_acceleration_structure_nv(
&self,
command_buffer: CommandBuffer,
dst: AccelerationStructureKHR,
src: AccelerationStructureKHR,
mode: CopyAccelerationStructureModeKHR
) -> c_void
pub unsafe fn cmd_copy_acceleration_structure_nv(
&self,
command_buffer: CommandBuffer,
dst: AccelerationStructureKHR,
src: AccelerationStructureKHR,
mode: CopyAccelerationStructureModeKHR
) -> c_void
pub unsafe fn cmd_trace_rays_nv(
&self,
command_buffer: CommandBuffer,
raygen_shader_binding_table_buffer: Buffer,
raygen_shader_binding_offset: DeviceSize,
miss_shader_binding_table_buffer: Buffer,
miss_shader_binding_offset: DeviceSize,
miss_shader_binding_stride: DeviceSize,
hit_shader_binding_table_buffer: Buffer,
hit_shader_binding_offset: DeviceSize,
hit_shader_binding_stride: DeviceSize,
callable_shader_binding_table_buffer: Buffer,
callable_shader_binding_offset: DeviceSize,
callable_shader_binding_stride: DeviceSize,
width: u32,
height: u32,
depth: u32
) -> c_void
pub unsafe fn cmd_trace_rays_nv(
&self,
command_buffer: CommandBuffer,
raygen_shader_binding_table_buffer: Buffer,
raygen_shader_binding_offset: DeviceSize,
miss_shader_binding_table_buffer: Buffer,
miss_shader_binding_offset: DeviceSize,
miss_shader_binding_stride: DeviceSize,
hit_shader_binding_table_buffer: Buffer,
hit_shader_binding_offset: DeviceSize,
hit_shader_binding_stride: DeviceSize,
callable_shader_binding_table_buffer: Buffer,
callable_shader_binding_offset: DeviceSize,
callable_shader_binding_stride: DeviceSize,
width: u32,
height: u32,
depth: u32
) -> c_void
pub unsafe fn create_ray_tracing_pipelines_nv(
&self,
device: Device,
pipeline_cache: PipelineCache,
create_info_count: u32,
p_create_infos: *const RayTracingPipelineCreateInfoNV,
p_allocator: *const AllocationCallbacks,
p_pipelines: *mut Pipeline
) -> Result
pub unsafe fn create_ray_tracing_pipelines_nv(
&self,
device: Device,
pipeline_cache: PipelineCache,
create_info_count: u32,
p_create_infos: *const RayTracingPipelineCreateInfoNV,
p_allocator: *const AllocationCallbacks,
p_pipelines: *mut Pipeline
) -> Result
pub unsafe fn get_acceleration_structure_handle_nv(
&self,
device: Device,
acceleration_structure: AccelerationStructureKHR,
data_size: usize,
p_data: *mut c_void
) -> Result
pub unsafe fn get_acceleration_structure_handle_nv(
&self,
device: Device,
acceleration_structure: AccelerationStructureKHR,
data_size: usize,
p_data: *mut c_void
) -> Result
pub unsafe fn cmd_write_acceleration_structures_properties_nv(
&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_nv(
&self,
command_buffer: CommandBuffer,
acceleration_structure_count: u32,
p_acceleration_structures: *const AccelerationStructureKHR,
query_type: QueryType,
query_pool: QueryPool,
first_query: u32
) -> c_void
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NvRayTracingFn
impl Unpin for NvRayTracingFn
impl UnwindSafe for NvRayTracingFn
Blanket Implementations
Mutably borrows from an owned value. Read more