Struct cognitive_graphics::egl_tools::EglBucket [] [src]

pub struct EglBucket {
    pub display: EGLDisplay,
    pub config: EGLConfig,
    pub context: EGLContext,
    pub surface: EGLSurface,
}

This structure collects EGL-related data.

Fields

Methods

impl EglBucket
[src]

Destroys surface, context and terminates display.

impl EglBucket
[src]

EglBucket constructor.

Make EGL context current. This method returns EglContext structure which will release context when goes out of the scope.

Trait Implementations

impl Clone for EglBucket
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for EglBucket
[src]