
com.gempukku.libgdx.graph.plugin.screen.ScreenShaderConfiguration Maven / Gradle / Ivy
package com.gempukku.libgdx.graph.plugin.screen;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.ObjectMap;
import com.gempukku.libgdx.graph.shader.config.GraphConfiguration;
import com.gempukku.libgdx.graph.shader.node.GraphShaderNodeBuilder;
import com.gempukku.libgdx.graph.shader.property.GraphShaderPropertyProducer;
public class ScreenShaderConfiguration implements GraphConfiguration {
public static ObjectMap graphShaderNodeBuilders = new ObjectMap<>();
public static Array graphShaderPropertyProducers = new Array<>();
static {
// End
addGraphShaderNodeBuilder(new EndScreenShaderNodeBuilder());
}
private static void addGraphShaderNodeBuilder(GraphShaderNodeBuilder builder) {
graphShaderNodeBuilders.put(builder.getType(), builder);
}
@Override
public Array getPropertyProducers() {
return graphShaderPropertyProducers;
}
@Override
public GraphShaderNodeBuilder getGraphShaderNodeBuilder(String type) {
return graphShaderNodeBuilders.get(type);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy