Type Definition ggez::graphics::Shader[][src]

pub type Shader<C> = ShaderGeneric<GlBackendSpec, C>;
Expand description

A Shader represents a handle to a user-defined shader that can be used with a ggez graphics context

Implementations

Send data to the GPU for use with the Shader

Gets the shader ID for the Shader which is used by the graphics context for identifying shaders in its cache