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 TypeMethodDescriptionbooleansupported(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- TheGLCapabilitiesreported by the current system.- Returns:
trueif this variant is supported, or if this is the last defined variant.
-