com.gempukku.libgdx.graph.pipeline.producer.FloatFieldOutput 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;
import com.gempukku.libgdx.graph.pipeline.PipelineFieldType;
import com.gempukku.libgdx.graph.pipeline.producer.node.PipelineNode;
import com.gempukku.libgdx.graph.pipeline.producer.node.PipelineRequirements;
public class FloatFieldOutput implements PipelineNode.FieldOutput {
private float value;
public FloatFieldOutput(float value) {
this.value = value;
}
@Override
public PipelineFieldType getPropertyType() {
return PipelineFieldType.Float;
}
@Override
public Float getValue(PipelineRenderingContext context, PipelineRequirements pipelineRequirements) {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy