Struct ash::vk::definitions::RayTracingShaderGroupCreateInfoNV
source · #[repr(C)]pub struct RayTracingShaderGroupCreateInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub ty: RayTracingShaderGroupTypeKHR,
pub general_shader: u32,
pub closest_hit_shader: u32,
pub any_hit_shader: u32,
pub intersection_shader: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§ty: RayTracingShaderGroupTypeKHR
§general_shader: u32
§closest_hit_shader: u32
§any_hit_shader: u32
§intersection_shader: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> RayTracingShaderGroupCreateInfoNV<'a>
impl<'a> RayTracingShaderGroupCreateInfoNV<'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
Trait Implementations§
source§impl<'a> Clone for RayTracingShaderGroupCreateInfoNV<'a>
impl<'a> Clone for RayTracingShaderGroupCreateInfoNV<'a>
source§fn clone(&self) -> RayTracingShaderGroupCreateInfoNV<'a>
fn clone(&self) -> RayTracingShaderGroupCreateInfoNV<'a>
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<'a> Debug for RayTracingShaderGroupCreateInfoNV<'a>
impl<'a> Debug for RayTracingShaderGroupCreateInfoNV<'a>
source§impl Default for RayTracingShaderGroupCreateInfoNV<'_>
impl Default for RayTracingShaderGroupCreateInfoNV<'_>
source§impl<'a> TaggedStructure for RayTracingShaderGroupCreateInfoNV<'a>
impl<'a> TaggedStructure for RayTracingShaderGroupCreateInfoNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV
impl<'a> Copy for RayTracingShaderGroupCreateInfoNV<'a>
impl Send for RayTracingShaderGroupCreateInfoNV<'_>
impl Sync for RayTracingShaderGroupCreateInfoNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for RayTracingShaderGroupCreateInfoNV<'a>
impl<'a> RefUnwindSafe for RayTracingShaderGroupCreateInfoNV<'a>
impl<'a> Unpin for RayTracingShaderGroupCreateInfoNV<'a>
impl<'a> UnwindSafe for RayTracingShaderGroupCreateInfoNV<'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