#[repr(C)]pub struct RayTracingShaderGroupCreateInfoNV {
pub s_type: StructureType,
pub p_next: *const c_void,
pub type: RayTracingShaderGroupTypeKHR,
pub general_shader: u32,
pub closest_hit_shader: u32,
pub any_hit_shader: u32,
pub intersection_shader: u32,
}Expand description
VkRayTracingShaderGroupCreateInfoNV
Provided by VK_NV_ray_tracing.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV.
p_next: *const c_voidOptional, may be null.
type: RayTracingShaderGroupTypeKHR§general_shader: u32§closest_hit_shader: u32§any_hit_shader: u32§intersection_shader: u32Implementations§
Source§impl RayTracingShaderGroupCreateInfoNV
impl RayTracingShaderGroupCreateInfoNV
Sourcepub fn builder<'a>() -> RayTracingShaderGroupCreateInfoNVBuilder<'a>
pub fn builder<'a>() -> RayTracingShaderGroupCreateInfoNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for RayTracingShaderGroupCreateInfoNV
impl Clone for RayTracingShaderGroupCreateInfoNV
Source§fn clone(&self) -> RayTracingShaderGroupCreateInfoNV
fn clone(&self) -> RayTracingShaderGroupCreateInfoNV
Returns a duplicate 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 moreimpl Copy for RayTracingShaderGroupCreateInfoNV
Auto Trait Implementations§
impl Freeze for RayTracingShaderGroupCreateInfoNV
impl RefUnwindSafe for RayTracingShaderGroupCreateInfoNV
impl !Send for RayTracingShaderGroupCreateInfoNV
impl !Sync for RayTracingShaderGroupCreateInfoNV
impl Unpin for RayTracingShaderGroupCreateInfoNV
impl UnsafeUnpin for RayTracingShaderGroupCreateInfoNV
impl UnwindSafe for RayTracingShaderGroupCreateInfoNV
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