pub struct PhysicalDeviceRayTracePipelineProperties {
pub shader_group_handle_size: u32,
pub max_ray_recursion_depth: u32,
pub max_shader_group_stride: u32,
pub shader_group_base_alignment: u32,
pub shader_group_handle_capture_replay_size: u32,
pub max_ray_dispatch_invocation_count: u32,
pub shader_group_handle_alignment: u32,
pub max_ray_hit_attribute_size: u32,
}Expand description
Properties of the physical device for ray tracing.
Fields
shader_group_handle_size: u32The size in bytes of the shader header.
max_ray_recursion_depth: u32The maximum number of levels of ray recursion allowed in a trace command.
max_shader_group_stride: u32The maximum stride in bytes allowed between shader groups in the shader binding table.
shader_group_base_alignment: u32The required alignment in bytes for the base of the shader binding table.
shader_group_handle_capture_replay_size: u32The number of bytes for the information required to do capture and replay for shader group handles.
max_ray_dispatch_invocation_count: u32The maximum number of ray generation shader invocations which may be produced by a single vkCmdTraceRaysIndirectKHR or vkCmdTraceRaysKHR command.
shader_group_handle_alignment: u32The required alignment in bytes for each shader binding table entry.
The value must be a power of two.
max_ray_hit_attribute_size: u32The maximum size in bytes for a ray attribute structure.
Trait Implementations
sourceimpl From<PhysicalDeviceRayTracingPipelinePropertiesKHR> for PhysicalDeviceRayTracePipelineProperties
impl From<PhysicalDeviceRayTracingPipelinePropertiesKHR> for PhysicalDeviceRayTracePipelineProperties
sourcefn from(props: PhysicalDeviceRayTracingPipelinePropertiesKHR) -> Self
fn from(props: PhysicalDeviceRayTracingPipelinePropertiesKHR) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for PhysicalDeviceRayTracePipelineProperties
impl Send for PhysicalDeviceRayTracePipelineProperties
impl Sync for PhysicalDeviceRayTracePipelineProperties
impl Unpin for PhysicalDeviceRayTracePipelineProperties
impl UnwindSafe for PhysicalDeviceRayTracePipelineProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more