pub struct RayTracingShaderGroupCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> RayTracingShaderGroupCreateInfoKHRBuilder<'a>
impl<'a> RayTracingShaderGroupCreateInfoKHRBuilder<'a>
pub fn ty(self, ty: RayTracingShaderGroupTypeKHR) -> Self
pub fn general_shader(self, general_shader: u32) -> Self
pub fn closest_hit_shader(self, closest_hit_shader: u32) -> Self
pub fn any_hit_shader(self, any_hit_shader: u32) -> Self
pub fn intersection_shader(self, intersection_shader: u32) -> Self
pub fn shader_group_capture_replay_handle( self, shader_group_capture_replay_handle: *const c_void, ) -> Self
Sourcepub fn build(self) -> RayTracingShaderGroupCreateInfoKHR
pub fn build(self) -> RayTracingShaderGroupCreateInfoKHR
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 RayTracingShaderGroupCreateInfoKHRBuilder<'a>
impl<'a> Deref for RayTracingShaderGroupCreateInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for RayTracingShaderGroupCreateInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for RayTracingShaderGroupCreateInfoKHRBuilder<'a>
impl<'a> !Send for RayTracingShaderGroupCreateInfoKHRBuilder<'a>
impl<'a> !Sync for RayTracingShaderGroupCreateInfoKHRBuilder<'a>
impl<'a> Unpin for RayTracingShaderGroupCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for RayTracingShaderGroupCreateInfoKHRBuilder<'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