Struct kiss3d::resource::Shader [] [src]

pub struct Shader { /* fields omitted */ }

Structure encapsulating a shader program.

Methods

impl Shader
[src]

Creates a new shader program from two files containing the vertex and fragment shader.

Creates a new shader program from strings of the vertex and fragment shader.

Gets a uniform variable from the shader program.

Gets an attribute from the shader program.

Make this program active.

Trait Implementations

impl Drop for Shader
[src]

A method called when the value goes out of scope. Read more