pub unsafe trait EGL1_4:
EGL1_0
+ EGL1_1
+ EGL1_2
+ EGL1_3 {
// Required method
unsafe fn eglGetCurrentContext(&self) -> EGLContext;
}
Expand description
EGL API interface.
An implementation of this trait can be used to create an Instance
.
This crate provides two implementation of this trait:
- [
Static
] which is available with thestatic
feature enabled, defined by statically linking to the EGL library at compile time. Dynamic
which is available with thedynamic
feature enabled, defined by dynamically linking to the EGL library at runtime. In this case, you may prefer to directly use theDynamicInstance
type.