pub struct Player {Show 16 fields
pub(crate) pipeline_layouts: HashMap<PointerId<PipelineLayout>, Arc<PipelineLayout>>,
pub(crate) shader_modules: HashMap<PointerId<ShaderModule>, Arc<ShaderModule>>,
pub(crate) bind_group_layouts: HashMap<PointerId<BindGroupLayout>, Arc<BindGroupLayout>>,
pub(crate) bind_groups: HashMap<PointerId<BindGroup>, Arc<BindGroup>>,
pub(crate) render_bundles: HashMap<PointerId<RenderBundle>, Arc<RenderBundle>>,
pub(crate) render_pipelines: HashMap<PointerId<RenderPipeline>, Arc<RenderPipeline>>,
pub(crate) compute_pipelines: HashMap<PointerId<ComputePipeline>, Arc<ComputePipeline>>,
pub(crate) pipeline_caches: HashMap<PointerId<PipelineCache>, Arc<PipelineCache>>,
pub(crate) query_sets: HashMap<PointerId<QuerySet>, Arc<QuerySet>>,
pub(crate) buffers: HashMap<PointerId<Buffer>, Arc<Buffer>>,
pub(crate) textures: HashMap<PointerId<Texture>, Arc<Texture>>,
pub(crate) texture_views: HashMap<PointerId<TextureView>, Arc<TextureView>>,
pub(crate) external_textures: HashMap<PointerId<ExternalTexture>, Arc<ExternalTexture>>,
pub(crate) samplers: HashMap<PointerId<Sampler>, Arc<Sampler>>,
pub(crate) blas_s: HashMap<PointerId<Blas>, Arc<Blas>>,
pub(crate) tlas_s: HashMap<PointerId<Tlas>, Arc<Tlas>>,
}Fields§
§pipeline_layouts: HashMap<PointerId<PipelineLayout>, Arc<PipelineLayout>>§shader_modules: HashMap<PointerId<ShaderModule>, Arc<ShaderModule>>§bind_group_layouts: HashMap<PointerId<BindGroupLayout>, Arc<BindGroupLayout>>§bind_groups: HashMap<PointerId<BindGroup>, Arc<BindGroup>>§render_bundles: HashMap<PointerId<RenderBundle>, Arc<RenderBundle>>§render_pipelines: HashMap<PointerId<RenderPipeline>, Arc<RenderPipeline>>§compute_pipelines: HashMap<PointerId<ComputePipeline>, Arc<ComputePipeline>>§pipeline_caches: HashMap<PointerId<PipelineCache>, Arc<PipelineCache>>§query_sets: HashMap<PointerId<QuerySet>, Arc<QuerySet>>§buffers: HashMap<PointerId<Buffer>, Arc<Buffer>>§textures: HashMap<PointerId<Texture>, Arc<Texture>>§texture_views: HashMap<PointerId<TextureView>, Arc<TextureView>>§external_textures: HashMap<PointerId<ExternalTexture>, Arc<ExternalTexture>>§samplers: HashMap<PointerId<Sampler>, Arc<Sampler>>§blas_s: HashMap<PointerId<Blas>, Arc<Blas>>§tlas_s: HashMap<PointerId<Tlas>, Arc<Tlas>>Implementations§
Source§impl Player
impl Player
pub fn process( &mut self, device: &Arc<Device>, queue: &Arc<Queue>, action: Action<'_, PointerReferences>, dir: &Path, )
pub fn resolve_buffer_id(&self, id: PointerId<Buffer>) -> Arc<Buffer>
pub(crate) fn resolve_texture_id(&self, id: PointerId<Texture>) -> Arc<Texture>
pub(crate) fn resolve_texture_view_id( &self, id: PointerId<TextureView>, ) -> Arc<TextureView>
pub(crate) fn resolve_external_texture_id( &self, id: PointerId<ExternalTexture>, ) -> Arc<ExternalTexture>
pub(crate) fn resolve_sampler_id(&self, id: PointerId<Sampler>) -> Arc<Sampler>
pub(crate) fn resolve_bind_group_layout_id( &self, id: PointerId<BindGroupLayout>, ) -> Arc<BindGroupLayout>
pub(crate) fn resolve_bind_group_id( &self, id: PointerId<BindGroup>, ) -> Arc<BindGroup>
pub(crate) fn resolve_pipeline_layout_id( &self, id: PointerId<PipelineLayout>, ) -> Arc<PipelineLayout>
pub(crate) fn resolve_shader_module_id( &self, id: PointerId<ShaderModule>, ) -> Arc<ShaderModule>
pub(crate) fn resolve_render_pipeline_id( &self, id: PointerId<RenderPipeline>, ) -> Arc<RenderPipeline>
pub(crate) fn resolve_compute_pipeline_id( &self, id: PointerId<ComputePipeline>, ) -> Arc<ComputePipeline>
pub(crate) fn resolve_pipeline_cache_id( &self, id: PointerId<PipelineCache>, ) -> Arc<PipelineCache>
pub(crate) fn resolve_render_bundle_id( &self, id: PointerId<RenderBundle>, ) -> Arc<RenderBundle>
pub(crate) fn resolve_query_set_id( &self, id: PointerId<QuerySet>, ) -> Arc<QuerySet>
pub(crate) fn resolve_blas_id(&self, id: PointerId<Blas>) -> Arc<Blas>
pub(crate) fn resolve_tlas_id(&self, id: PointerId<Tlas>) -> Arc<Tlas>
pub(crate) fn resolve_texel_copy_texture_info( &self, info: TexelCopyTextureInfo<PointerId<Texture>>, ) -> TexelCopyTextureInfo<Arc<Texture>>
pub(crate) fn resolve_compute_pipeline_descriptor<'a>( &self, desc: TraceComputePipelineDescriptor<'a>, ) -> ResolvedComputePipelineDescriptor<'a>
pub(crate) fn resolve_render_pipeline_descriptor<'a>( &self, desc: TraceGeneralRenderPipelineDescriptor<'a>, ) -> ResolvedGeneralRenderPipelineDescriptor<'a>
pub(crate) fn resolve_bind_group_descriptor<'a>( &self, desc: TraceBindGroupDescriptor<'a>, ) -> ResolvedBindGroupDescriptor<'a>
pub(crate) fn resolve_command( &self, command: Command<PointerReferences>, ) -> ArcCommand
pub(crate) fn resolve_texel_copy_buffer_info( &self, info: TexelCopyBufferInfo<PointerId<Buffer>>, ) -> TexelCopyBufferInfo<Arc<Buffer>>
pub(crate) fn resolve_compute_pass( &self, pass: BasePass<ComputeCommand<PointerReferences>, Infallible>, ) -> BasePass<ComputeCommand<ArcReferences>, Infallible>
pub(crate) fn resolve_render_pass( &self, pass: BasePass<RenderCommand<PointerReferences>, Infallible>, ) -> BasePass<RenderCommand<ArcReferences>, Infallible>
pub(crate) fn resolve_compute_command( &self, command: ComputeCommand<PointerReferences>, ) -> ComputeCommand<ArcReferences>
pub(crate) fn resolve_render_command( &self, command: RenderCommand<PointerReferences>, ) -> RenderCommand<ArcReferences>
pub(crate) fn resolve_pass_timestamp_writes( &self, writes: PassTimestampWrites<PointerId<QuerySet>>, ) -> PassTimestampWrites<Arc<QuerySet>>
pub(crate) fn resolve_color_attachments( &self, attachments: ColorAttachments<PointerId<TextureView>>, ) -> ColorAttachments<Arc<TextureView>>
pub(crate) fn resolve_depth_stencil_attachment( &self, attachment: ResolvedRenderPassDepthStencilAttachment<PointerId<TextureView>>, ) -> ResolvedRenderPassDepthStencilAttachment<Arc<TextureView>>
pub(crate) fn resolve_blas_build_entry( &self, entry: OwnedBlasBuildEntry<PointerReferences>, ) -> OwnedBlasBuildEntry<ArcReferences>
pub(crate) fn resolve_tlas_package( &self, package: OwnedTlasPackage<PointerReferences>, ) -> OwnedTlasPackage<ArcReferences>
pub(crate) fn resolve_blas_geometries( &self, geometries: OwnedBlasGeometries<PointerReferences>, ) -> OwnedBlasGeometries<ArcReferences>
pub(crate) fn resolve_blas_triangle_geometry( &self, geometry: OwnedBlasTriangleGeometry<PointerReferences>, ) -> OwnedBlasTriangleGeometry<ArcReferences>
pub(crate) fn resolve_tlas_instance( &self, instance: OwnedTlasInstance<PointerReferences>, ) -> OwnedTlasInstance<ArcReferences>
pub(crate) fn resolve_buffer_transition( &self, trans: BufferTransition<PointerId<Buffer>>, ) -> BufferTransition<Arc<Buffer>>
pub(crate) fn resolve_texture_transition( &self, trans: TextureTransition<PointerId<Texture>>, ) -> TextureTransition<Arc<Texture>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Player
impl !RefUnwindSafe for Player
impl Send for Player
impl Sync for Player
impl Unpin for Player
impl !UnwindSafe for Player
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