|
@@ -49,6 +49,21 @@ import java.util.Collection;
|
|
public enum Caps {
|
|
public enum Caps {
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * Supports {@link FrameBuffer FrameBuffers}.
|
|
|
|
+ * <p>
|
|
|
|
+ * OpenGL: Renderer exposes the GL_EXT_framebuffer_object extension.<br>
|
|
|
|
+ * OpenGL ES: Renderer supports OpenGL ES 2.0.
|
|
|
|
+ *//**
|
|
|
|
+ * Supports {@link FrameBuffer FrameBuffers}.
|
|
|
|
+ * <p>
|
|
|
|
+ * OpenGL: Renderer exposes the GL_EXT_framebuffer_object extension.<br>
|
|
|
|
+ * OpenGL ES: Renderer supports OpenGL ES 2.0.
|
|
|
|
+ *//**
|
|
|
|
+ * Supports {@link FrameBuffer FrameBuffers}.
|
|
|
|
+ * <p>
|
|
|
|
+ * OpenGL: Renderer exposes the GL_EXT_framebuffer_object extension.<br>
|
|
|
|
+ * OpenGL ES: Renderer supports OpenGL ES 2.0.
|
|
|
|
+ *//**
|
|
* Supports {@link FrameBuffer FrameBuffers}.
|
|
* Supports {@link FrameBuffer FrameBuffers}.
|
|
* <p>
|
|
* <p>
|
|
* OpenGL: Renderer exposes the GL_EXT_framebuffer_object extension.<br>
|
|
* OpenGL: Renderer exposes the GL_EXT_framebuffer_object extension.<br>
|
|
@@ -107,12 +122,12 @@ public enum Caps {
|
|
OpenGL32,
|
|
OpenGL32,
|
|
|
|
|
|
/**
|
|
/**
|
|
- * Supports OpenGL ARB program.
|
|
|
|
- * <p>
|
|
|
|
- * OpenGL: Renderer exposes ARB_vertex_program and ARB_fragment_program
|
|
|
|
- * extensions.
|
|
|
|
|
|
+ * Do not use.
|
|
|
|
+ *
|
|
|
|
+ * @deprecated do not use.
|
|
*/
|
|
*/
|
|
- ARBprogram,
|
|
|
|
|
|
+ @Deprecated
|
|
|
|
+ Reserved0,
|
|
|
|
|
|
/**
|
|
/**
|
|
* Supports GLSL 1.0
|
|
* Supports GLSL 1.0
|
|
@@ -170,7 +185,7 @@ public enum Caps {
|
|
TextureBuffer,
|
|
TextureBuffer,
|
|
|
|
|
|
/**
|
|
/**
|
|
- * Supports floating point textures (Format.RGB16F)
|
|
|
|
|
|
+ * Supports floating point & half textures (Format.RGB16F)
|
|
*/
|
|
*/
|
|
FloatTexture,
|
|
FloatTexture,
|
|
|
|
|
|
@@ -204,6 +219,11 @@ public enum Caps {
|
|
*/
|
|
*/
|
|
SharedExponentColorBuffer,
|
|
SharedExponentColorBuffer,
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Do not use.
|
|
|
|
+ *
|
|
|
|
+ * @deprecated do not use.
|
|
|
|
+ */
|
|
@Deprecated
|
|
@Deprecated
|
|
Reserved1,
|
|
Reserved1,
|
|
|
|
|
|
@@ -212,7 +232,9 @@ public enum Caps {
|
|
*/
|
|
*/
|
|
NonPowerOfTwoTextures,
|
|
NonPowerOfTwoTextures,
|
|
|
|
|
|
- /// Vertex Buffer features
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Supports geometry instancing.
|
|
|
|
+ */
|
|
MeshInstancing,
|
|
MeshInstancing,
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -253,7 +275,33 @@ public enum Caps {
|
|
/**
|
|
/**
|
|
* Supports {@link Format#ETC1} texture compression.
|
|
* Supports {@link Format#ETC1} texture compression.
|
|
*/
|
|
*/
|
|
- TextureCompressionETC1;
|
|
|
|
|
|
+ TextureCompressionETC1,
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Supports {@link Format#ETC1} texture compression by uploading
|
|
|
|
+ * the texture as ETC2 (they are backwards compatible).
|
|
|
|
+ */
|
|
|
|
+ TextureCompressionETC2,
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Supports OpenGL ES 2
|
|
|
|
+ */
|
|
|
|
+ OpenGLES20,
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Supports RGB8 / RGBA8 textures
|
|
|
|
+ */
|
|
|
|
+ Rgba8,
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Supports depth textures.
|
|
|
|
+ */
|
|
|
|
+ DepthTexture,
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Supports 32-bit index buffers.
|
|
|
|
+ */
|
|
|
|
+ IntegerIndexBuffer;
|
|
|
|
|
|
/**
|
|
/**
|
|
* Returns true if given the renderer capabilities, the texture
|
|
* Returns true if given the renderer capabilities, the texture
|