com.gempukku.libgdx.graph.pipeline.producer.rendering.node.EndPipelineNode 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.rendering.node;
import com.gempukku.libgdx.graph.pipeline.RenderPipeline;
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 EndPipelineNode implements PipelineNode {
private PipelineNode.FieldOutput renderPipeline;
private PipelineRequirements pipelineRequirements = new PipelineRequirements();
public EndPipelineNode(PipelineNode.FieldOutput renderPipeline) {
this.renderPipeline = renderPipeline;
}
@Override
public void initializePipeline(PipelineInitializationFeedback pipelineInitializationFeedback) {
}
@Override
public FieldOutput> getFieldOutput(String name) {
return null;
}
@Override
public void startFrame() {
}
@Override
public void endFrame() {
}
@Override
public void dispose() {
}
public RenderPipeline executePipeline(PipelineRenderingContext pipelineRenderingContext) {
pipelineRequirements.reset();
return renderPipeline.getValue(pipelineRenderingContext, pipelineRequirements);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy