Struct ash::vk::RayTracingShaderGroupCreateInfoNVBuilder
source · pub struct RayTracingShaderGroupCreateInfoNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> RayTracingShaderGroupCreateInfoNVBuilder<'a>
impl<'a> RayTracingShaderGroupCreateInfoNVBuilder<'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
sourcepub fn build(self) -> RayTracingShaderGroupCreateInfoNV
pub fn build(self) -> RayTracingShaderGroupCreateInfoNV
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 RayTracingShaderGroupCreateInfoNVBuilder<'a>
impl<'a> Deref for RayTracingShaderGroupCreateInfoNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for RayTracingShaderGroupCreateInfoNVBuilder<'a>
impl<'a> RefUnwindSafe for RayTracingShaderGroupCreateInfoNVBuilder<'a>
impl<'a> !Send for RayTracingShaderGroupCreateInfoNVBuilder<'a>
impl<'a> !Sync for RayTracingShaderGroupCreateInfoNVBuilder<'a>
impl<'a> Unpin for RayTracingShaderGroupCreateInfoNVBuilder<'a>
impl<'a> UnwindSafe for RayTracingShaderGroupCreateInfoNVBuilder<'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