logo

Trait bevy::render::render_resource::glsl::Glsl[]

pub unsafe trait Glsl {
    const NAME: &'static str;
}
Expand description

Trait for types that have a GLSL equivalent. Useful for generating GLSL code from Rust structs.

Associated Constants

The name of this type in GLSL, like vec2 or mat4.

Implementations on Foreign Types

Implementors