Trait allegro::shader::ShaderUniform[][src]

pub trait ShaderUniform {
    unsafe fn set_self_for_shader(&self, name: &str) -> Result<(), ()>;
}

Trait implemented by types that can be used to set uniforms in shaders.

Required methods

unsafe fn set_self_for_shader(&self, name: &str) -> Result<(), ()>[src]

Loading content...

Implementations on Foreign Types

impl ShaderUniform for [f32][src]

impl ShaderUniform for [[f32; 2]][src]

impl ShaderUniform for [[f32; 3]][src]

impl ShaderUniform for [[f32; 4]][src]

impl ShaderUniform for [i32][src]

impl ShaderUniform for [[i32; 2]][src]

impl ShaderUniform for [[i32; 3]][src]

impl ShaderUniform for [[i32; 4]][src]

Loading content...

Implementors

Loading content...