Search Results for

    Show / Hide Table of Contents

    Interface IOpenGLContext

    OpenGL interface used to create the native context on all supported platforms.

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

    Properties

    ContextHandle

    Gets the native OpenGL context handle.

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

    DeviceHandle

    Gets the native device handle.

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

    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
    nint WindowHandle { get; }
    Property Value
    Type Description
    nint

    Methods

    DestroyContext()

    Destroys the current context and window.

    Declaration
    void DestroyContext()

    LoadFunctions()

    Loads all OpenGL delegate functions.

    Declaration
    void LoadFunctions()

    MakeCurrent()

    Sets the context created.

    Declaration
    void MakeCurrent()

    SwapBuffers()

    Swaps 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