Search Results for

    Show / Hide Table of Contents

    Interface IOpenGLContext

    OpenGL interface used to create the native context on every supported platform.

    Namespace: Evergine.OpenGL
    Assembly: Evergine.OpenGL.dll
    Syntax
    public interface IOpenGLContext

    Properties

    ContextHandle

    Gets the native OpenGL context handle.

    Declaration
    IntPtr ContextHandle { get; }
    Property Value
    Type Description
    IntPtr

    DeviceHandle

    Gets the native device handle.

    Declaration
    IntPtr DeviceHandle { get; }
    Property Value
    Type Description
    IntPtr

    SwapInterval

    Gets or sets the vertical sync interval.

    Declaration
    int SwapInterval { get; set; }
    Property Value
    Type Description
    int

    WindowHandle

    Gets the native window (surface) handle.

    Declaration
    IntPtr WindowHandle { get; }
    Property Value
    Type Description
    IntPtr

    Methods

    DestroyContext()

    Destroy the current context and window.

    Declaration
    void DestroyContext()

    LoadFunctions()

    Load all openGL delegate functions.

    Declaration
    void LoadFunctions()

    MakeCurrent()

    Set the context created.

    Declaration
    void MakeCurrent()

    SwapBuffers()

    Exchanges the front and back buffers.

    Declaration
    void SwapBuffers()

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX