Crate gl33[−][src]
Makes the OpenGL 3.3 Core API (+GL_KHR_debug) available for use.
The crate’s interface is provided as a “struct” style loader. Construct a
GlFns
using an appropriate get_proc_address
function, and then call
methods on your GlFns
.
There’s also a “global” style loader if the global_loader
feature is
enabled. This lets you load up functions pointers that can be freely
accessed from anywhere.
Inlining
This crate does not use the #[inline]
attribute. If you want full
inlining just turn on Link-Time Optimization in your cargo profile:
[profile.release]
lto = "thin"
trace_caller
If the trace_caller
feature is enables then this attribute is placed on
any function that can panic. A panic will only happen if you call a function
that is not loaded.
Re-exports
pub use gl_core_types::*; |
pub use gl_enumerations::*; |
pub use gl_groups::*; |
Modules
get_proc_address |
|
gl_core_types | |
gl_enumerations | |
gl_groups | |
global_loader |
Structs
GlFns | A struct that holds all the functions to use OpenGL 3.3 Core. |
Functions
println_debug_message_callback⚠ |