pub struct RayTracingPipeline {
pub(crate) state: ResourceState<RayTracingPipelineState>,
pub(crate) device: Arc<Device>,
pub(crate) late_sized_buffer_groups: ArrayVec<LateSizedBufferGroup, { hal::MAX_BIND_GROUPS }>,
pub(crate) immediate_slots_required: ImmediateSlots,
pub(crate) label: String,
pub(crate) tracking_data: TrackingData,
}Fields§
§state: ResourceState<RayTracingPipelineState>§device: Arc<Device>§late_sized_buffer_groups: ArrayVec<LateSizedBufferGroup, { hal::MAX_BIND_GROUPS }>§immediate_slots_required: ImmediateSlots§label: StringThe label from the descriptor used to create the resource.
tracking_data: TrackingDataImplementations§
Source§impl RayTracingPipeline
impl RayTracingPipeline
pub(crate) fn raw( &self, ) -> Result<&dyn DynRayTracingPipeline, InvalidResourceError>
pub(crate) fn invalid(device: Arc<Device>, label: String) -> Arc<Self> ⓘ
pub(crate) fn check_valid(&self) -> Result<(), InvalidResourceError>
pub(crate) fn layout( &self, ) -> Result<&Arc<PipelineLayout>, InvalidResourceError>
pub(crate) fn shader_binding_data( &self, ) -> Result<&ShaderBindingData, InvalidResourceError>
pub(crate) fn intersection_types( &self, ) -> Result<&Arc<[RayTracingIntersectionType]>, InvalidResourceError>
pub fn get_bind_group_layout_inner( self: &Arc<Self>, index: u32, ) -> Result<Arc<BindGroupLayout>, GetBindGroupLayoutError>
pub fn get_bind_group_layout( self: &Arc<Self>, index: u32, ) -> (Arc<BindGroupLayout>, Option<GetBindGroupLayoutError>)
Trait Implementations§
Source§impl Debug for RayTracingPipeline
impl Debug for RayTracingPipeline
Source§impl Drop for RayTracingPipeline
impl Drop for RayTracingPipeline
Source§impl Labeled for RayTracingPipeline
impl Labeled for RayTracingPipeline
Source§fn label(&self) -> &str
fn label(&self) -> &str
Returns a string identifying this resource for logging and errors. Read more
fn error_ident(&self) -> ResourceErrorIdent
Source§impl ParentDevice for RayTracingPipeline
impl ParentDevice for RayTracingPipeline
Source§impl ResourceType for RayTracingPipeline
impl ResourceType for RayTracingPipeline
Source§impl Trackable for RayTracingPipeline
impl Trackable for RayTracingPipeline
fn tracker_index(&self) -> TrackerIndex
Auto Trait Implementations§
impl Freeze for RayTracingPipeline
impl !RefUnwindSafe for RayTracingPipeline
impl Send for RayTracingPipeline
impl Sync for RayTracingPipeline
impl Unpin for RayTracingPipeline
impl UnsafeUnpin for RayTracingPipeline
impl !UnwindSafe for RayTracingPipeline
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more