public abstract class PipelineComponent extends java.lang.Object implements IComponent, IDestroyable
| Modifier and Type | Class and Description |
|---|---|
static interface |
PipelineComponent.PipelineDelegate |
| Modifier and Type | Field and Description |
|---|---|
Color4 |
clearColor |
static java.lang.String |
GEOMETRY_SCENE |
static java.lang.String |
GEOMETRYEXT_SETVIEWPORT |
static java.lang.String |
GEOMETRYEXT_UI |
protected PipelineComponent.PipelineDelegate |
pipelineDelegate |
static java.lang.String |
STAGE_CLEAR |
static java.lang.String |
VIEWABLE_SCENE |
static java.lang.String |
VIEWABLE_SCREEN |
| Modifier | Constructor and Description |
|---|---|
protected |
PipelineComponent(java.lang.String geometrySceneSurfaceName) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(IGLApi glApi) |
abstract ILightModel |
getLightModel() |
void |
init(GameObject gameObject)
internal - don't call
|
void |
init(IGLApi glApi) |
protected abstract Pipeline |
loadPipeline(AssetManager assets,
DelegatePipelineRenderable pipelineDelegates) |
void |
onActivate()
internal - don't call
|
void |
onDeactivate()
internal - don't call
|
void |
onDestroy()
internal - don't call
|
void |
onFrameEnd(IGLApi glApi) |
void |
onFrameStart(IGLApi glApi) |
protected static Pipeline |
parse(AssetManager assets,
Stream pipelineStream) |
void |
render(IGLApi glApi,
SceneView sceneView,
PipelineComponent.PipelineDelegate delegate) |
void |
start()
internal - don't call
|
protected static void |
validatePipeline(Pipeline pipeline) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGameObjectpublic static final java.lang.String STAGE_CLEAR
public static final java.lang.String GEOMETRY_SCENE
public static final java.lang.String GEOMETRYEXT_SETVIEWPORT
public static final java.lang.String GEOMETRYEXT_UI
public static final java.lang.String VIEWABLE_SCREEN
public static final java.lang.String VIEWABLE_SCENE
public final Color4 clearColor
protected PipelineComponent.PipelineDelegate pipelineDelegate
protected PipelineComponent(java.lang.String geometrySceneSurfaceName)
public abstract ILightModel getLightModel()
public final void init(GameObject gameObject)
init in interface IComponentpublic final void render(IGLApi glApi, SceneView sceneView, PipelineComponent.PipelineDelegate delegate)
public void init(IGLApi glApi)
public void onFrameStart(IGLApi glApi)
public void onFrameEnd(IGLApi glApi)
public void destroy(IGLApi glApi)
destroy in interface IDestroyablepublic final void start()
start in interface IComponentpublic void onActivate()
onActivate in interface IComponentpublic void onDeactivate()
onDeactivate in interface IComponentpublic void onDestroy()
onDestroy in interface IComponentprotected abstract Pipeline loadPipeline(AssetManager assets, DelegatePipelineRenderable pipelineDelegates)
protected static Pipeline parse(AssetManager assets, Stream pipelineStream)
protected static void validatePipeline(Pipeline pipeline)
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com