#opengl #constant #es #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

#848 in Graphics APIs

Download history 5/week @ 2024-02-19 27/week @ 2024-02-26 5/week @ 2024-03-11 4/week @ 2024-03-25 47/week @ 2024-04-01

56 downloads per month
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