pub struct PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
impl<'a> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
pub fn shader_group_handle_size( self, shader_group_handle_size: u32 ) -> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
pub fn max_ray_recursion_depth( self, max_ray_recursion_depth: u32 ) -> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
pub fn max_shader_group_stride( self, max_shader_group_stride: u32 ) -> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
pub fn shader_group_base_alignment( self, shader_group_base_alignment: u32 ) -> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
pub fn shader_group_handle_capture_replay_size( self, shader_group_handle_capture_replay_size: u32 ) -> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
pub fn max_ray_dispatch_invocation_count( self, max_ray_dispatch_invocation_count: u32 ) -> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
pub fn shader_group_handle_alignment( self, shader_group_handle_alignment: u32 ) -> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
pub fn max_ray_hit_attribute_size( self, max_ray_hit_attribute_size: u32 ) -> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceRayTracingPipelinePropertiesKHR
pub fn build(self) -> PhysicalDeviceRayTracingPipelinePropertiesKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
impl<'a> Deref for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
§type Target = PhysicalDeviceRayTracingPipelinePropertiesKHR
type Target = PhysicalDeviceRayTracingPipelinePropertiesKHR
The resulting type after dereferencing.
source§impl<'a> DerefMut for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
impl<'a> !Send for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
impl<'a> !Sync for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
impl<'a> Unpin for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a>
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
Mutably borrows from an owned value. Read more