Struct ash::vk::definitions::RayTracingShaderGroupCreateInfoKHR
source · #[repr(C)]pub struct RayTracingShaderGroupCreateInfoKHR<'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 p_shader_group_capture_replay_handle: *const c_void,
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
§p_shader_group_capture_replay_handle: *const c_void
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> RayTracingShaderGroupCreateInfoKHR<'a>
impl<'a> RayTracingShaderGroupCreateInfoKHR<'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
Trait Implementations§
source§impl<'a> Clone for RayTracingShaderGroupCreateInfoKHR<'a>
impl<'a> Clone for RayTracingShaderGroupCreateInfoKHR<'a>
source§fn clone(&self) -> RayTracingShaderGroupCreateInfoKHR<'a>
fn clone(&self) -> RayTracingShaderGroupCreateInfoKHR<'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 RayTracingShaderGroupCreateInfoKHR<'a>
impl<'a> Debug for RayTracingShaderGroupCreateInfoKHR<'a>
source§impl Default for RayTracingShaderGroupCreateInfoKHR<'_>
impl Default for RayTracingShaderGroupCreateInfoKHR<'_>
source§impl<'a> TaggedStructure for RayTracingShaderGroupCreateInfoKHR<'a>
impl<'a> TaggedStructure for RayTracingShaderGroupCreateInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR
impl<'a> Copy for RayTracingShaderGroupCreateInfoKHR<'a>
impl Send for RayTracingShaderGroupCreateInfoKHR<'_>
impl Sync for RayTracingShaderGroupCreateInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for RayTracingShaderGroupCreateInfoKHR<'a>
impl<'a> RefUnwindSafe for RayTracingShaderGroupCreateInfoKHR<'a>
impl<'a> Unpin for RayTracingShaderGroupCreateInfoKHR<'a>
impl<'a> UnwindSafe for RayTracingShaderGroupCreateInfoKHR<'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