Enum opengl_graphics::GLSL []

pub enum GLSL {
    V1_10,
    V1_20,
    V1_30,
    V1_40,
    V1_50,
    V3_30,
    V4_00,
    V4_10,
    V4_20,
    V4_30,
    V4_40,
    V4_50,
}

For OpenGL version 3.3 and above, the GLSL version is the same as the OpenGL version.

Source: http://www.opengl.org/wiki/Core_Language_%28GLSL%29

Variants

Methods

impl GLSL

Gets OpenGL version associated with GLSL.

Trait Implementations

impl PartialEq<GLSL> for GLSL

impl Eq for GLSL

impl Ord for GLSL

impl PickShader for GLSL

impl PartialOrd<GLSL> for GLSL

impl Copy for GLSL

impl Clone for GLSL

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GLSL

Formats the value using the given formatter.