Search in sources :

Example 1 with BaseFBOsManager

use of org.terasology.rendering.opengl.BaseFBOsManager in project Terasology by MovingBlocks.

the class AbstractNode method dispose.

@Override
public void dispose() {
    for (Map.Entry<SimpleUri, BaseFBOsManager> entry : fboUsages.entrySet()) {
        SimpleUri fboName = entry.getKey();
        BaseFBOsManager baseFBOsManager = entry.getValue();
        baseFBOsManager.release(fboName);
    }
    fboUsages.clear();
}
Also used : BaseFBOsManager(org.terasology.rendering.opengl.BaseFBOsManager) SimpleUri(org.terasology.engine.SimpleUri) Map(java.util.Map)

Aggregations

Map (java.util.Map)1 SimpleUri (org.terasology.engine.SimpleUri)1 BaseFBOsManager (org.terasology.rendering.opengl.BaseFBOsManager)1