#opengl #constant #es #gl #value

gl_constants

Declares OpenGL and OpenGL ES enumerated constant values

2 releases

0.1.1 Feb 23, 2023
0.1.0 Feb 23, 2023

#984 in Graphics APIs


Used in 2 crates (via ezgl)

Zlib OR Apache-2.0 OR MIT

470KB
6K SLoC

Docs.rs

gl_constants

Declares OpenGL and OpenGL ES enumerated constant values.

The one constant that's missing from this crate is GL_ACTIVE_PROGRAM_EXT, which is part of the GL_EXT_separate_shader_objects extension. It's the only constant which has a different value in OpenGL compared to OpenGL ES. All other constants are the same value in both APIs.


lib.rs:

Declares OpenGL and OpenGL ES enumerated constant values.

The one constant that's missing from this crate is GL_ACTIVE_PROGRAM_EXT, which is part of the GL_EXT_separate_shader_objects extension. It's the only constant which has a different value in OpenGL compared to OpenGL ES. All other constants are the same value in both APIs.

Dependencies