pub struct RayTraceProperties {
    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.

See VkPhysicalDeviceRayTracingPipelinePropertiesKHR manual page.

Fields§

§shader_group_handle_size: u32

The size in bytes of the shader header.

§max_ray_recursion_depth: u32

The maximum number of levels of ray recursion allowed in a trace command.

§max_shader_group_stride: u32

The maximum stride in bytes allowed between shader groups in the shader binding table.

§shader_group_base_alignment: u32

The required alignment in bytes for the base of the shader binding table.

§shader_group_handle_capture_replay_size: u32

The number of bytes for the information required to do capture and replay for shader group handles.

§max_ray_dispatch_invocation_count: u32

The maximum number of ray generation shader invocations which may be produced by a single vkCmdTraceRaysIndirectKHR or vkCmdTraceRaysKHR command.

§shader_group_handle_alignment: u32

The required alignment in bytes for each shader binding table entry.

The value must be a power of two.

§max_ray_hit_attribute_size: u32

The maximum size in bytes for a ray attribute structure.

Trait Implementations§

source§

impl Debug for RayTraceProperties

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<PhysicalDeviceRayTracingPipelinePropertiesKHR> for RayTraceProperties

source§

fn from(props: PhysicalDeviceRayTracingPipelinePropertiesKHR) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.