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 PartialOrd<GLSL> for GLSL

impl PartialEq<GLSL> for GLSL

impl PickShader for GLSL

impl Eq for GLSL

impl Copy for GLSL

impl Ord for GLSL

impl Debug for GLSL

Formats the value using the given formatter.

impl Clone for GLSL