#[repr(C)]pub struct TraceRaysIndirectCommand2KHR {Show 14 fields
pub raygen_shader_record_address: DeviceAddress,
pub raygen_shader_record_size: DeviceSize,
pub miss_shader_binding_table_address: DeviceAddress,
pub miss_shader_binding_table_size: DeviceSize,
pub miss_shader_binding_table_stride: DeviceSize,
pub hit_shader_binding_table_address: DeviceAddress,
pub hit_shader_binding_table_size: DeviceSize,
pub hit_shader_binding_table_stride: DeviceSize,
pub callable_shader_binding_table_address: DeviceAddress,
pub callable_shader_binding_table_size: DeviceSize,
pub callable_shader_binding_table_stride: DeviceSize,
pub width: u32,
pub height: u32,
pub depth: u32,
}
Expand description
Structure specifying the parameters of an indirect trace ray command with indirect shader binding tables
Fields§
§raygen_shader_record_address: DeviceAddress
raygenShaderRecordAddress is a VkDeviceAddress
of the ray generation shader binding table record used by this command.
raygen_shader_record_size: DeviceSize
raygenShaderRecordSize is a VkDeviceSize
number of bytes corresponding to the ray generation shader binding table record at base address raygenShaderRecordAddress.
miss_shader_binding_table_address: DeviceAddress
missShaderBindingTableAddress is a VkDeviceAddress
of the first record in the miss shader binding table used by this command.
miss_shader_binding_table_size: DeviceSize
missShaderBindingTableSize is a VkDeviceSize
number of bytes corresponding to the total size of the miss shader binding table at missShaderBindingTableAddress that may be accessed by this command.
miss_shader_binding_table_stride: DeviceSize
missShaderBindingTableStride is a VkDeviceSize
number of bytes between records of the miss shader binding table.
hit_shader_binding_table_address: DeviceAddress
hitShaderBindingTableAddress is a VkDeviceAddress
of the first record in the hit shader binding table used by this command.
hit_shader_binding_table_size: DeviceSize
hitShaderBindingTableSize is a VkDeviceSize
number of bytes corresponding to the total size of the hit shader binding table at hitShaderBindingTableAddress that may be accessed by this command.
hit_shader_binding_table_stride: DeviceSize
hitShaderBindingTableStride is a VkDeviceSize
number of bytes between records of the hit shader binding table.
callable_shader_binding_table_address: DeviceAddress
callableShaderBindingTableAddress is a VkDeviceAddress
of the first record in the callable shader binding table used by this command.
callable_shader_binding_table_size: DeviceSize
callableShaderBindingTableSize is a VkDeviceSize
number of bytes corresponding to the total size of the callable shader binding table at callableShaderBindingTableAddress that may be accessed by this command.
callable_shader_binding_table_stride: DeviceSize
callableShaderBindingTableStride is a VkDeviceSize
number of bytes between records of the callable shader binding table.
width: u32
width is the width of the ray trace query dimensions.
height: u32
height is height of the ray trace query dimensions.
depth: u32
depth is depth of the ray trace query dimensions.
Trait Implementations§
source§impl Clone for TraceRaysIndirectCommand2KHR
impl Clone for TraceRaysIndirectCommand2KHR
source§fn clone(&self) -> TraceRaysIndirectCommand2KHR
fn clone(&self) -> TraceRaysIndirectCommand2KHR
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TraceRaysIndirectCommand2KHR
impl Debug for TraceRaysIndirectCommand2KHR
source§impl Default for TraceRaysIndirectCommand2KHR
impl Default for TraceRaysIndirectCommand2KHR
source§fn default() -> TraceRaysIndirectCommand2KHR
fn default() -> TraceRaysIndirectCommand2KHR
impl AnyBitPattern for TraceRaysIndirectCommand2KHR
impl Copy for TraceRaysIndirectCommand2KHR
Auto Trait Implementations§
impl Freeze for TraceRaysIndirectCommand2KHR
impl RefUnwindSafe for TraceRaysIndirectCommand2KHR
impl Send for TraceRaysIndirectCommand2KHR
impl Sync for TraceRaysIndirectCommand2KHR
impl Unpin for TraceRaysIndirectCommand2KHR
impl UnwindSafe for TraceRaysIndirectCommand2KHR
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
bits
as &Self
.