Enum Constant and Description |
---|
BinaryShader
GPU support for binary shaders.
|
CoreProfile
Running with OpenGL 3.2+ core profile.
|
Depth24
Explicit support of depth 24 textures.
|
DepthTexture
Supports depth textures.
|
FloatColorBuffer
Supports floating point FBO color buffers (Format.RGB16F).
|
FloatDepthBuffer
Supports floating point depth buffer.
|
FloatTexture
Supports floating point and half textures (Format.RGB16F).
|
FrameBuffer
Supports
FrameBuffers . |
FrameBufferBlit
Supports blitting framebuffers.
|
FrameBufferMRT
Supports framebuffer Multiple Render Targets (MRT).
|
FrameBufferMultisample
Supports framebuffer multi-sampling.
|
GeometryShader
Supports geometry shader.
|
GLDebug
Supports debugging capabilities
|
GLSL100
Supports GLSL 1.0.
|
GLSL110
Supports GLSL 1.1.
|
GLSL120
Supports GLSL 1.2.
|
GLSL130
Supports GLSL 1.3.
|
GLSL140
Supports GLSL 1.4.
|
GLSL150
Supports GLSL 1.5.
|
GLSL300
Supports GLSL 3.0.
|
GLSL310
Supports GLSL 3.1.
|
GLSL320
Supports GLSL 3.2.
|
GLSL330
Supports GLSL 3.3.
|
GLSL400
Supports GLSL 4.0.
|
GLSL410
Supports GLSL 4.1.
|
GLSL420
Supports GLSL 4.2.
|
GLSL430
Supports GLSL 4.3.
|
GLSL440
Supports GLSL 4.4.
|
GLSL450
Supports GLSL 4.5.
|
IntegerIndexBuffer
Supports 32-bit index buffers.
|
IntegerTexture
Supports integer textures.
|
MeshInstancing
Supports geometry instancing.
|
Multisample
Supports multisampling on the screen.
|
NonPowerOfTwoTextures
Supports Non-Power-Of-Two (NPOT) textures and framebuffers.
|
OpenGL20
Supports OpenGL 2.0 or OpenGL ES 2.0.
|
OpenGL21
Supports OpenGL 2.1.
|
OpenGL30
Supports OpenGL 3.0.
|
OpenGL31
Supports OpenGL 3.1.
|
OpenGL32
Supports OpenGL 3.2.
|
OpenGL33
Supports OpenGL 3.3.
|
OpenGL40
Supports OpenGL 4.0.
|
OpenGL41
Supports OpenGL 4.1.
|
OpenGL42
Supports OpenGL 4.2.
|
OpenGL43
Supports OpenGL 4.3.
|
OpenGL44
Supports OpenGL 4.4.
|
OpenGL45
Supports OpenGL 4.5.
|
OpenGLES20
Supports OpenGL ES 2.
|
OpenGLES30
Supports OpenGL ES 3.0.
|
OpenGLES31
Supports OpenGL ES 3.1.
|
OpenGLES32
Supports OpenGL ES 3.2.
|
PackedDepthStencilBuffer
Supports FBO with Depth24Stencil8 image format.
|
PackedFloatColorBuffer
Supports Format.RGB111110F for FBO color buffers.
|
PackedFloatTexture
Supports Format.RGB111110F for textures.
|
PartialNonPowerOfTwoTextures
Partial support for non-power-of-2 textures, typically found
on OpenGL ES 2 devices.
|
Reserved0
Deprecated.
do not use.
|
Reserved1
Deprecated.
do not use.
|
Rgba8
Supports RGB8 / RGBA8 textures.
|
SeamlessCubemap
When sampling cubemap edges, interpolates between the adjacent faces
instead of just sampling one face.
|
ShaderStorageBufferObject
Supporting working with ShaderStorageBufferObjects.
|
SharedExponentColorBuffer
Supports Format.RGB9E5 for FBO color buffers.
|
SharedExponentTexture
Supports Format.RGB9E5 for textures.
|
Srgb
Supports sRGB framebuffers and sRGB texture format.
|
TesselationShader
Supports Tessellation shader.
|
TextureArray
Supports texture arrays.
|
TextureBuffer
Supports texture buffers.
|
TextureCompressionBPTC
Supports BPTC and sister formats.
|
TextureCompressionETC1
Supports
Image.Format.ETC1 texture compression. |
TextureCompressionETC2
Supports
Image.Format.ETC1 texture compression by uploading
the texture as ETC2 (they are backwards compatible). |
TextureCompressionRGTC
Supports
Image.Format.RGTC1 and other RGTC compressed formats. |
TextureCompressionS3TC
Supports
Image.Format.DXT1 and sister formats. |
TextureFilterAnisotropic
Supports anisotropic texture filtering.
|
TextureMultisample
Supports texture multi-sampling.
|
UniformBufferObject
Supporting working with UniformBufferObject.
|
UnpackRowLength
Supports unpack row length (stride).
|
VertexBufferArray
Supports VAO, or vertex buffer arrays.
|
VertexTextureFetch
Supports reading from textures inside the vertex shader.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
supports(java.util.Collection<Caps> caps,
FrameBuffer fb)
Returns true if given the renderer capabilities, the framebuffer
can be supported by the renderer.
|
static boolean |
supports(java.util.Collection<Caps> caps,
Shader shader)
Returns true if given the renderer capabilities, the shader
can be supported by the renderer.
|
static boolean |
supports(java.util.Collection<Caps> caps,
Texture tex)
Returns true if given the renderer capabilities, the texture
can be supported by the renderer.
|
static Caps |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Caps[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Caps FrameBuffer
FrameBuffers
.
OpenGL: Renderer exposes the GL_EXT_framebuffer_object extension.
OpenGL ES: Renderer supports OpenGL ES 2.0.
public static final Caps FrameBufferMRT
OpenGL: Renderer exposes the GL_ARB_draw_buffers extension
public static final Caps FrameBufferMultisample
OpenGL: Renderer exposes the GL EXT framebuffer multisample extension
OpenGL ES: Renderer exposes GL_APPLE_framebuffer_multisample or
GL_ANGLE_framebuffer_multisample.
public static final Caps TextureMultisample
OpenGL: Renderer exposes the GL_ARB_texture_multisample extension
OpenGL ES: Renderer exposes the GL_IMG_multisampled_render_to_texture
extension.
public static final Caps OpenGL20
public static final Caps OpenGL21
public static final Caps OpenGL30
public static final Caps OpenGL31
public static final Caps OpenGL32
public static final Caps OpenGL33
public static final Caps OpenGL40
public static final Caps OpenGL41
public static final Caps OpenGL42
public static final Caps OpenGL43
public static final Caps OpenGL44
public static final Caps OpenGL45
@Deprecated public static final Caps Reserved0
public static final Caps GLSL100
public static final Caps GLSL110
public static final Caps GLSL120
public static final Caps GLSL130
public static final Caps GLSL140
public static final Caps GLSL150
public static final Caps GLSL330
public static final Caps GLSL400
public static final Caps GLSL410
public static final Caps GLSL420
public static final Caps GLSL430
public static final Caps GLSL440
public static final Caps GLSL450
public static final Caps VertexTextureFetch
public static final Caps GeometryShader
public static final Caps TesselationShader
public static final Caps TextureArray
public static final Caps TextureBuffer
public static final Caps FloatTexture
public static final Caps IntegerTexture
public static final Caps FloatColorBuffer
public static final Caps FloatDepthBuffer
public static final Caps PackedFloatTexture
public static final Caps SharedExponentTexture
public static final Caps PackedFloatColorBuffer
public static final Caps SharedExponentColorBuffer
@Deprecated public static final Caps Reserved1
public static final Caps NonPowerOfTwoTextures
public static final Caps MeshInstancing
public static final Caps VertexBufferArray
public static final Caps Multisample
public static final Caps PackedDepthStencilBuffer
public static final Caps Srgb
public static final Caps FrameBufferBlit
public static final Caps TextureCompressionS3TC
Image.Format.DXT1
and sister formats.public static final Caps TextureFilterAnisotropic
public static final Caps TextureCompressionETC1
Image.Format.ETC1
texture compression.public static final Caps TextureCompressionETC2
Image.Format.ETC1
texture compression by uploading
the texture as ETC2 (they are backwards compatible).public static final Caps TextureCompressionBPTC
public static final Caps TextureCompressionRGTC
Image.Format.RGTC1
and other RGTC compressed formats.public static final Caps OpenGLES20
public static final Caps Rgba8
public static final Caps DepthTexture
public static final Caps IntegerIndexBuffer
public static final Caps PartialNonPowerOfTwoTextures
Use of NPOT textures is allowed iff:
Texture.WrapMode
is set to
Texture.WrapMode.EdgeClamp
.Texture.MinFilter
is set to
Texture.MinFilter.BilinearNoMipMaps
or
Texture.MinFilter.NearestNoMipMaps
public static final Caps SeamlessCubemap
Improves the quality of environment mapping.
public static final Caps CoreProfile
public static final Caps BinaryShader
public static final Caps UniformBufferObject
public static final Caps ShaderStorageBufferObject
public static final Caps OpenGLES30
public static final Caps GLSL300
public static final Caps OpenGLES31
public static final Caps GLSL310
public static final Caps OpenGLES32
public static final Caps GLSL320
public static final Caps Depth24
public static final Caps UnpackRowLength
public static final Caps GLDebug
public static Caps[] values()
for (Caps c : Caps.values()) System.out.println(c);
public static Caps valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean supports(java.util.Collection<Caps> caps, Texture tex)
This only checks the format of the texture, non-power-of-2 textures are scaled automatically inside the renderer if are not supported natively.
caps
- The collection of renderer capabilities Renderer.getCaps()
.tex
- The texture to checkpublic static boolean supports(java.util.Collection<Caps> caps, FrameBuffer fb)
caps
- The collection of renderer capabilities Renderer.getCaps()
.fb
- The framebuffer to checkpublic static boolean supports(java.util.Collection<Caps> caps, Shader shader)
caps
- The collection of renderer capabilities Renderer.getCaps()
.shader
- The shader to check