#[repr(transparent)]pub struct RayTracingShaderGroupCreateInfoNVBuilder { /* private fields */ }
Expand description
A builder for a RayTracingShaderGroupCreateInfoNV
.
Implementations§
source§impl RayTracingShaderGroupCreateInfoNVBuilder
impl RayTracingShaderGroupCreateInfoNVBuilder
pub fn type_(self, type_: 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 build(self) -> RayTracingShaderGroupCreateInfoNV
Trait Implementations§
source§impl Cast for RayTracingShaderGroupCreateInfoNVBuilder
impl Cast for RayTracingShaderGroupCreateInfoNVBuilder
§type Target = RayTracingShaderGroupCreateInfoNV
type Target = RayTracingShaderGroupCreateInfoNV
The other type this type can be used interchangeably with in FFI.
source§impl Clone for RayTracingShaderGroupCreateInfoNVBuilder
impl Clone for RayTracingShaderGroupCreateInfoNVBuilder
source§fn clone(&self) -> RayTracingShaderGroupCreateInfoNVBuilder
fn clone(&self) -> RayTracingShaderGroupCreateInfoNVBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for RayTracingShaderGroupCreateInfoNVBuilder
impl Default for RayTracingShaderGroupCreateInfoNVBuilder
source§fn default() -> RayTracingShaderGroupCreateInfoNVBuilder
fn default() -> RayTracingShaderGroupCreateInfoNVBuilder
Returns the “default value” for a type. Read more
impl Copy for RayTracingShaderGroupCreateInfoNVBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RayTracingShaderGroupCreateInfoNVBuilder
impl !Send for RayTracingShaderGroupCreateInfoNVBuilder
impl !Sync for RayTracingShaderGroupCreateInfoNVBuilder
impl Unpin for RayTracingShaderGroupCreateInfoNVBuilder
impl UnwindSafe for RayTracingShaderGroupCreateInfoNVBuilder
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