# Read Graphic Card Capabilites

You can read the graphic card's capabilities using the `com.jme3.renderer.Caps` class:

    Collection<Caps> caps = renderer.getCaps();
    Logger.getLogger(HelloWorld.class.getName()).log(Level.INFO, “Caps: {0}” + caps.toString());

Replace HelloWorld by the name of the class where you are using this line.

The result looks like the following example:

    Caps: [FrameBuffer, FrameBufferMRT, FrameBufferMultisample,
    OpenGL20, ARBprogram, GLSL100, GLSL110, GLSL120,
    VertexTextureFetch, FloatTexture, TextureCompressionLATC]

This would tell you that this user's graphic card only supports OpenGL 2.0 and cannot handle newer OpenGL features.

view online version