Package icyllis.modernui.core.awt

# Interface PlatformGLCanvas

All Known Implementing Classes:
  `PlatformLinuxGLCanvas`, `PlatformMacOSXGLCanvas`, `PlatformWin32GLCanvas`

public interface PlatformGLCanvas
Interface for platform-specific implementations of `AWTGLCanvas`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `create(Canvas canvas, GLData data, GLData effective)`
  `boolean`
  `delayBeforeSwapNV(float seconds)`
  `boolean`
  `deleteContext(long context)`
  `void`
  `dispose()`
  `boolean`
  `isCurrent(long context)`
  `void`
  `lock()`
  `boolean`
  `makeCurrent(long context)`
  `boolean`
  `swapBuffers()`
  `void`
  `unlock()`

- ## Method Details

  - ### create

    long create(Canvas canvas, GLData data, GLData effective) throws AWTException
    Throws:
      `AWTException`

  - ### deleteContext

    boolean deleteContext(long context)

  - ### makeCurrent

    boolean makeCurrent(long context)

  - ### isCurrent

    boolean isCurrent(long context)

  - ### swapBuffers

    boolean swapBuffers()

  - ### delayBeforeSwapNV

    boolean delayBeforeSwapNV(float seconds)

  - ### lock

    void lock() throws AWTException
    Throws:
      `AWTException`

  - ### unlock

    void unlock() throws AWTException
    Throws:
      `AWTException`

  - ### dispose

    void dispose()