Struct ash::vk::RayTracingShaderGroupCreateInfoKHRBuilder
source · #[repr(transparent)]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.