Enum opengl_graphics::GLSL
[−]
[src]
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.
Variants
V1_10V1_20V1_30V1_40V1_50V3_30V4_00V4_10V4_20V4_30V4_40V4_50Methods
impl GLSL[src]
Trait Implementations
impl PartialOrd<GLSL> for GLSL[src]
fn partial_cmp(&self, __arg_0: &GLSL) -> Option<Ordering>
impl Copy for GLSL[src]
impl Ord for GLSL[src]
impl Eq for GLSL[src]
impl PickShader for GLSL[src]
fn pick_shader<S>(self, shaders: &Shaders<'a, GLSL, S>) -> Option<&'a S> where
S: ?Sized,
S: ?Sized,
impl PartialEq<GLSL> for GLSL[src]
impl Debug for GLSL[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for GLSL[src]
fn clone(&self) -> GLSL
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more