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

pub struct Shader { /* fields omitted */ }

Structure encapsulating a shader program.

Methods

impl Shader
[src]

[src]

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

[src]

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

[src]

Gets a uniform variable from the shader program.

[src]

Gets an attribute from the shader program.

[src]

Make this program active.

Trait Implementations

impl Drop for Shader
[src]

[src]

Executes the destructor for this type. Read more