com.gempukku.libgdx.graph.pipeline.producer.value.node.ValuePipelineNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libgdx-graph Show documentation
Show all versions of libgdx-graph Show documentation
libGDX-graph runtime library for pipeline rendering
The newest version!
package com.gempukku.libgdx.graph.pipeline.producer.value.node;
import com.gempukku.libgdx.graph.data.NodeConfiguration;
import com.gempukku.libgdx.graph.pipeline.PipelineFieldType;
import com.gempukku.libgdx.graph.pipeline.producer.PipelineRenderingContext;
import com.gempukku.libgdx.graph.pipeline.producer.node.PipelineInitializationFeedback;
import com.gempukku.libgdx.graph.pipeline.producer.node.PipelineNode;
import com.gempukku.libgdx.graph.pipeline.producer.node.PipelineRequirements;
public class ValuePipelineNode implements PipelineNode {
private NodeConfiguration configuration;
private String propertyName;
private Object value;
public ValuePipelineNode(NodeConfiguration configuration, String propertyName, final Object value) {
this.configuration = configuration;
this.propertyName = propertyName;
this.value = value;
}
@Override
public FieldOutput> getFieldOutput(final String name) {
if (!name.equals(propertyName))
throw new IllegalArgumentException();
return new FieldOutput
© 2015 - 2025 Weber Informatics LLC | Privacy Policy