#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

#941 in Graphics APIs

Download history 3/week @ 2024-11-01 1/week @ 2024-11-08 2/week @ 2024-11-15 14/week @ 2024-12-06 7/week @ 2024-12-13

68 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