Package com.ardor3d.renderer.lwjgl

Examples of com.ardor3d.renderer.lwjgl.LwjglContextCapabilities


        _scene = scene;
    }

    @MainThread
    protected ContextCapabilities createContextCapabilities() {
        return new LwjglContextCapabilities(GLContext.getCapabilities());
    }
View Full Code Here


        } catch (final LWJGLException ex) {
            ex.printStackTrace();
        }

        // Set up our Ardor3D context and capabilities objects
        final LwjglContextCapabilities caps = new LwjglContextCapabilities(GLContext.getCapabilities());
        final RenderContext currentContext = new RenderContext(this, caps, null);

        if (!caps.isFBOSupported()) {
            throw new Ardor3dException("Headless requires FBO support.");
        }

        if (caps.isFBOMultisampleSupported() && caps.isFBOBlitSupported() && _settings.getSamples() > 0) {
            _useMSAA = true;
        }

        // Init our FBO.
        final IntBuffer buffer = BufferUtils.createIntBuffer(1);
View Full Code Here

TOP

Related Classes of com.ardor3d.renderer.lwjgl.LwjglContextCapabilities

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.