Struct glutin_egl_sys::egl::Egl[][src]

pub struct Egl {
Show 48 fields pub BindAPI: FnPtr, pub BindTexImage: FnPtr, pub ChooseConfig: FnPtr, pub ClientWaitSync: FnPtr, pub CopyBuffers: FnPtr, pub CreateContext: FnPtr, pub CreateImage: FnPtr, pub CreatePbufferFromClientBuffer: FnPtr, pub CreatePbufferSurface: FnPtr, pub CreatePixmapSurface: FnPtr, pub CreatePlatformPixmapSurface: FnPtr, pub CreatePlatformPixmapSurfaceEXT: FnPtr, pub CreatePlatformWindowSurface: FnPtr, pub CreatePlatformWindowSurfaceEXT: FnPtr, pub CreateSync: FnPtr, pub CreateWindowSurface: FnPtr, pub DestroyContext: FnPtr, pub DestroyImage: FnPtr, pub DestroySurface: FnPtr, pub DestroySync: FnPtr, pub GetConfigAttrib: FnPtr, pub GetConfigs: FnPtr, pub GetCurrentContext: FnPtr, pub GetCurrentDisplay: FnPtr, pub GetCurrentSurface: FnPtr, pub GetDisplay: FnPtr, pub GetError: FnPtr, pub GetPlatformDisplay: FnPtr, pub GetPlatformDisplayEXT: FnPtr, pub GetProcAddress: FnPtr, pub GetSyncAttrib: FnPtr, pub Initialize: FnPtr, pub MakeCurrent: FnPtr, pub QueryAPI: FnPtr, pub QueryContext: FnPtr, pub QueryString: FnPtr, pub QuerySurface: FnPtr, pub ReleaseTexImage: FnPtr, pub ReleaseThread: FnPtr, pub SurfaceAttrib: FnPtr, pub SwapBuffers: FnPtr, pub SwapBuffersWithDamageKHR: FnPtr, pub SwapInterval: FnPtr, pub Terminate: FnPtr, pub WaitClient: FnPtr, pub WaitGL: FnPtr, pub WaitNative: FnPtr, pub WaitSync: FnPtr, // some fields omitted
}

Fields

BindAPI: FnPtrBindTexImage: FnPtrChooseConfig: FnPtrClientWaitSync: FnPtr

Fallbacks: ClientWaitSyncKHR

CopyBuffers: FnPtrCreateContext: FnPtrCreateImage: FnPtrCreatePbufferFromClientBuffer: FnPtrCreatePbufferSurface: FnPtrCreatePixmapSurface: FnPtrCreatePlatformPixmapSurface: FnPtrCreatePlatformPixmapSurfaceEXT: FnPtrCreatePlatformWindowSurface: FnPtrCreatePlatformWindowSurfaceEXT: FnPtrCreateSync: FnPtr

Fallbacks: CreateSync64KHR

CreateWindowSurface: FnPtrDestroyContext: FnPtrDestroyImage: FnPtr

Fallbacks: DestroyImageKHR

DestroySurface: FnPtrDestroySync: FnPtr

Fallbacks: DestroySyncKHR

GetConfigAttrib: FnPtrGetConfigs: FnPtrGetCurrentContext: FnPtrGetCurrentDisplay: FnPtrGetCurrentSurface: FnPtrGetDisplay: FnPtrGetError: FnPtrGetPlatformDisplay: FnPtrGetPlatformDisplayEXT: FnPtrGetProcAddress: FnPtrGetSyncAttrib: FnPtrInitialize: FnPtrMakeCurrent: FnPtrQueryAPI: FnPtrQueryContext: FnPtrQueryString: FnPtrQuerySurface: FnPtrReleaseTexImage: FnPtrReleaseThread: FnPtrSurfaceAttrib: FnPtrSwapBuffers: FnPtrSwapBuffersWithDamageKHR: FnPtrSwapInterval: FnPtrTerminate: FnPtrWaitClient: FnPtrWaitGL: FnPtrWaitNative: FnPtrWaitSync: FnPtr

Implementations

Load each OpenGL symbol using a custom load function. This allows for the use of functions like glfwGetProcAddress or SDL_GL_GetProcAddress.

let gl = Gl::load_with(|s| glfw.get_proc_address(s));

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.