Struct kiss3d::resource::Effect[][src]

pub struct Effect { /* fields omitted */ }

Structure encapsulating a program.

Methods

impl Effect
[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 Effect
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Effect

impl Sync for Effect