Enum gfx::ShaderSet [−][src]
A complete set of shaders to link a program. TODO: TransformFeedback
Variants
Simple(VertexShader<R>, PixelShader<R>)
Simple program: Vs-Ps
Geometry(VertexShader<R>, GeometryShader<R>, PixelShader<R>)
Geometry shader programs: Vs-Gs-Ps
Tessellated(VertexShader<R>, HullShader<R>, DomainShader<R>, PixelShader<R>)
Tessellation programs: Vs-Hs-Ds-Ps
TessellatedGeometry(VertexShader<R>, HullShader<R>, DomainShader<R>, GeometryShader<R>, PixelShader<R>)
TessellatedGeometry programs: Vs-Hs-Ds-Hs-Ps
Implementations
impl<R> ShaderSet<R> where
R: Resources,
[src]
R: Resources,
Trait Implementations
impl<R> Clone for ShaderSet<R> where
R: Resources + Clone,
[src]
R: Resources + Clone,
impl<R> Debug for ShaderSet<R> where
R: Resources + Debug,
[src]
R: Resources + Debug,
impl<R> Eq for ShaderSet<R> where
R: Resources + Eq,
[src]
R: Resources + Eq,
impl<R> Hash for ShaderSet<R> where
R: Resources + Hash,
[src]
R: Resources + Hash,
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<R> PartialEq<ShaderSet<R>> for ShaderSet<R> where
R: Resources + PartialEq<R>,
[src]
R: Resources + PartialEq<R>,
pub fn eq(&self, other: &ShaderSet<R>) -> bool
[src]
pub fn ne(&self, other: &ShaderSet<R>) -> bool
[src]
impl<R> StructuralEq for ShaderSet<R> where
R: Resources,
[src]
R: Resources,
impl<R> StructuralPartialEq for ShaderSet<R> where
R: Resources,
[src]
R: Resources,
Auto Trait Implementations
impl<R> RefUnwindSafe for ShaderSet<R> where
<R as Resources>::Shader: RefUnwindSafe,
<R as Resources>::Shader: RefUnwindSafe,
impl<R> Send for ShaderSet<R>
impl<R> Sync for ShaderSet<R>
impl<R> Unpin for ShaderSet<R>
impl<R> UnwindSafe for ShaderSet<R> where
<R as Resources>::Shader: RefUnwindSafe,
<R as Resources>::Shader: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,