@JsType(isNative=true, namespace="Cesium", name="PostProcessStageCollection") public class PostProcessStageCollection extends Object
Constructor and Description |
---|
PostProcessStageCollection() |
Modifier and Type | Method and Description |
---|---|
PostProcessStage |
add(PostProcessStage stage)
Adds the post-process stage to the collection.
|
PostProcessStageComposite |
add(PostProcessStageComposite stage)
Adds the post-process stage to the collection.
|
PostProcessStageComposite |
ambientOcclusion() |
PostProcessStageComposite |
bloom() |
boolean |
contains(PostProcess stage)
Returns whether the collection contains a post-process stage.
|
void |
destroy()
Destroys the WebGL resources held by this object.
|
PostProcessStage |
fxaa()
A post-process stage for Fast Approximate Anti-aliasing.
|
PostProcess |
get(int index)
Gets the post-process stage at index.
|
boolean |
isDestroyed()
Returns true if this object was destroyed; otherwise, false.
|
int |
length()
The number of post-process stages in this collection.
|
boolean |
ready()
Determines if all of the post-process stages in the collection are ready to be executed.
|
boolean |
remove(PostProcess stage)
Removes a post-process stage from the collection and destroys it.
|
void |
removeAll()
Removes all post-process stages from the collection and destroys them.
|
@JsProperty(name="ambientOcclusion") public PostProcessStageComposite ambientOcclusion()
@JsProperty(name="bloom") public PostProcessStageComposite bloom()
@JsProperty(name="fxaa") public PostProcessStage fxaa()
@JsProperty(name="length") public int length()
@JsProperty(name="ready") public boolean ready()
@JsMethod public PostProcessStage add(PostProcessStage stage)
stage
- PostProcessStage
The post-process stage to add to the collection.@JsMethod public PostProcessStageComposite add(PostProcessStageComposite stage)
stage
- PostProcessStageComposite
The post-process stage to add to the collection.@JsMethod public boolean contains(PostProcess stage)
stage
- PostProcessStage
| PostProcessStageComposite
The post-process stage to add to the collection.@JsMethod public void destroy()
@JsMethod public PostProcess get(int index)
index
- The index of the post-process stage.PostProcessStage
| PostProcessStageComposite
The post-process stage at index.@JsMethod public boolean isDestroyed()
@JsMethod public boolean remove(PostProcess stage)
stage
- PostProcessStage
| PostProcessStageComposite
The post-process stage to add to the collection.@JsMethod public void removeAll()
Copyright © 2019. All rights reserved.