Enum gfx::ShaderSet [] [src]

pub enum ShaderSet<R> where
    R: Resources
{ Simple(VertexShader<R>, PixelShader<R>), Geometry(VertexShader<R>, GeometryShader<R>, PixelShader<R>), Tessellated(VertexShader<R>, HullShader<R>, DomainShader<R>, PixelShader<R>), }

A complete set of shaders to link a program.

Variants

Simple program: Vs-Ps

Geometry shader programs: Vs-Gs-Ps

Tessellated TODO: Tessellated, TessellatedGeometry, TransformFeedback

Methods

impl<R> ShaderSet<R> where
    R: Resources
[src]

[src]

Return the aggregated stage usage for the set.

Trait Implementations

impl<R> Clone for ShaderSet<R> where
    R: Resources + Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<R> Hash for ShaderSet<R> where
    R: Resources + Hash
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<R> PartialEq<ShaderSet<R>> for ShaderSet<R> where
    R: Resources + PartialEq<R>, 
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<R> Debug for ShaderSet<R> where
    R: Resources + Debug
[src]

[src]

Formats the value using the given formatter.

impl<R> Eq for ShaderSet<R> where
    R: Resources + Eq
[src]