com.gempukku.libgdx.graph.pipeline.property.CallbackPipelinePropertyProducer 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.property;
import com.badlogic.gdx.graphics.Camera;
import com.badlogic.gdx.utils.JsonValue;
import com.gempukku.libgdx.graph.pipeline.PipelineFieldType;
import com.gempukku.libgdx.graph.pipeline.impl.WritablePipelineProperty;
import java.util.function.Supplier;
public class CallbackPipelinePropertyProducer implements PipelinePropertyProducer {
@Override
public PipelineFieldType getType() {
return PipelineFieldType.Callback;
}
@Override
public WritablePipelineProperty createProperty(JsonValue data) {
return new WritablePipelineProperty(PipelineFieldType.Callback,
new Supplier() {
@Override
public Camera get() {
return null;
}
});
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy