Struct ggez::graphics::ShaderGeneric [] [src]

pub struct ShaderGeneric<Spec: BackendSpec, C: Structure<ConstFormat>> { /* fields omitted */ }

A ShaderGeneric reprensents a handle user-defined shader that can be used with a ggez graphics context that is generic over gfx::Resources

As an end-user you shouldn't ever have to touch this and should use Shader instead.

Trait Implementations

impl<Spec: Clone + BackendSpec, C: Clone + Structure<ConstFormat>> Clone for ShaderGeneric<Spec, C> where
    Spec::Resources: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<Spec, C> Debug for ShaderGeneric<Spec, C> where
    Spec: BackendSpec,
    C: Structure<ConstFormat>, 
[src]

[src]

Formats the value using the given formatter.