mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 08:13:27 +00:00
add most remaining dyn type traits
This commit is contained in:
parent
add54f19d8
commit
b4c6741970
@ -88,12 +88,18 @@ impl<R: DynResource + ?Sized> DynResourceExt for R {
|
||||
}
|
||||
}
|
||||
|
||||
pub trait DynAccelerationStructure: DynResource + std::fmt::Debug {}
|
||||
pub trait DynBindGroup: DynResource + std::fmt::Debug {}
|
||||
pub trait DynBindGroupLayout: DynResource + std::fmt::Debug {}
|
||||
pub trait DynBuffer: DynResource + std::fmt::Debug {}
|
||||
pub trait DynComputePipeline: DynResource + std::fmt::Debug {}
|
||||
pub trait DynFence: DynResource + std::fmt::Debug {}
|
||||
pub trait DynPipelineCache: DynResource + std::fmt::Debug {}
|
||||
pub trait DynPipelineLayout: DynResource + std::fmt::Debug {}
|
||||
pub trait DynQuerySet: DynResource + std::fmt::Debug {}
|
||||
pub trait DynRenderPipeline: DynResource + std::fmt::Debug {}
|
||||
pub trait DynSampler: DynResource + std::fmt::Debug {}
|
||||
pub trait DynShaderModule: DynResource + std::fmt::Debug {}
|
||||
pub trait DynTexture: DynResource + std::fmt::Debug {}
|
||||
pub trait DynTextureView: DynResource + std::fmt::Debug {}
|
||||
|
||||
|
@ -266,8 +266,9 @@ mod dynamic;
|
||||
|
||||
pub(crate) use dynamic::impl_dyn_resource;
|
||||
pub use dynamic::{
|
||||
DynBindGroup, DynBuffer, DynCommandEncoder, DynComputePipeline, DynDevice, DynPipelineLayout,
|
||||
DynQuerySet, DynRenderPipeline, DynResource, DynTexture, DynTextureView,
|
||||
DynAccelerationStructure, DynBindGroup, DynBindGroupLayout, DynBuffer, DynCommandEncoder,
|
||||
DynComputePipeline, DynDevice, DynFence, DynPipelineCache, DynPipelineLayout, DynQuerySet,
|
||||
DynRenderPipeline, DynResource, DynSampler, DynShaderModule, DynTexture, DynTextureView,
|
||||
};
|
||||
|
||||
use std::{
|
||||
|
Loading…
Reference in New Issue
Block a user