Interface GlVersioned

All Known Implementing Classes:
BufferStorage, InstancedArrays

public interface GlVersioned
This interface should be implemented by enums such that the last defined variant always returns true
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    supported(org.lwjgl.opengl.GLCapabilities caps)
    Queries whether this variant is supported by the current system.
  • Method Details

    • supported

      boolean supported(org.lwjgl.opengl.GLCapabilities caps)
      Queries whether this variant is supported by the current system.
      Parameters:
      caps - The GLCapabilities reported by the current system.
      Returns:
      true if this variant is supported, or if this is the last defined variant.