All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ardor3d.renderer.jogl.JoglRenderContext Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
/**
 * Copyright (c) 2008-2010 Ardor Labs, Inc.
 *
 * This file is part of Ardor3D.
 *
 * Ardor3D is free software: you can redistribute it and/or modify it 
 * under the terms of its license which may be found in the accompanying
 * LICENSE file or at .
 */

package com.ardor3d.renderer.jogl;

import com.ardor3d.renderer.ContextCapabilities;
import com.ardor3d.renderer.RenderContext;
import com.ardor3d.renderer.jogl.state.record.JoglRendererRecord;

public class JoglRenderContext extends RenderContext {

    public JoglRenderContext(final Object key, final ContextCapabilities caps) {
        this(key, caps, null);
    }

    public JoglRenderContext(final Object key, final ContextCapabilities caps, final RenderContext shared) {
        super(key, caps, shared);
    }

    @Override
    protected JoglRendererRecord createRendererRecord() {
        final JoglRendererRecord rendererRecord = new JoglRendererRecord();
        return rendererRecord;
    }

    @Override
    public JoglRendererRecord getRendererRecord() {
        return (JoglRendererRecord) _rendererRecord;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy