pub trait Resources: Clone + Hash + Debug + Eq + PartialEq<Self> + Any {
type Buffer: Clone + Hash + Debug + Eq + PartialEq<Self::Buffer> + Any + Send + Sync + Copy;
type Shader: Clone + Hash + Debug + Eq + PartialEq<Self::Shader> + Any + Send + Sync;
type Program: Clone + Hash + Debug + Eq + PartialEq<Self::Program> + Any + Send + Sync;
type PipelineStateObject: Clone + Hash + Debug + Eq + PartialEq<Self::PipelineStateObject> + Any + Send + Sync;
type Texture: Clone + Hash + Debug + Eq + PartialEq<Self::Texture> + Any + Send + Sync;
type ShaderResourceView: Clone + Hash + Debug + Eq + PartialEq<Self::ShaderResourceView> + Any + Send + Sync + Copy;
type UnorderedAccessView: Clone + Hash + Debug + Eq + PartialEq<Self::UnorderedAccessView> + Any + Send + Sync + Copy;
type RenderTargetView: Clone + Hash + Debug + Eq + PartialEq<Self::RenderTargetView> + Any + Send + Sync + Copy;
type DepthStencilView: Clone + Hash + Debug + Eq + PartialEq<Self::DepthStencilView> + Any + Send + Sync;
type Sampler: Clone + Hash + Debug + Eq + PartialEq<Self::Sampler> + Any + Send + Sync + Copy;
type Fence: Clone + Hash + Debug + Eq + PartialEq<Self::Fence> + Any + Send + Sync;
type Mapping: Hash + Debug + Eq + PartialEq<Self::Mapping> + Any + Send + Sync + Gate<Self>;
}
Expand description
Different types of a specific API.