@JsType(isNative=true, namespace="Cesium", name="PostProcessStageComposite") public class PostProcessStageComposite extends Object implements PostProcess
PostProcessStage
or other post-process composite stages that execute together logically.
All stages are executed in the order of the array. The input texture changes based on the value of
inputPreviousStageTexture. If inputPreviousStageTexture is true, the input to each stage is the output texture
rendered to by the scene or of the stage that executed before it. If inputPreviousStageTexture is false,
the input texture is the same for each stage in the composite. The input texture is the texture rendered to by
the scene or the output texture of the previous stage.Modifier and Type | Field and Description |
---|---|
boolean |
enabled
Whether or not to execute this post-process stage when ready.
|
JsObject |
uniforms
An alias to the uniform values of the post-process stages.
|
Constructor and Description |
---|
PostProcessStageComposite(PostProcessStageCompositeOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the WebGL resources held by this object.
|
PostProcess |
getPostProcessStage(int index)
Gets the post-process stage at index
|
boolean |
inputPreviousStageTexture()
All post-process stages are executed in the order of the array.
|
boolean |
isDestroyed()
Returns true if this object was destroyed; otherwise, false.
|
int |
length()
The number of post-process stages in this composite.
|
String |
name()
The unique name of this post-process stage for reference by other stages in a PostProcessStageComposite.
|
boolean |
ready()
Determines if this post-process stage is ready to be executed.
|
@JsProperty public boolean enabled
@JsProperty public JsObject uniforms
@JsConstructor public PostProcessStageComposite(PostProcessStageCompositeOptions options)
@JsProperty(name="inputPreviousStageTexture") public boolean inputPreviousStageTexture()
@JsProperty(name="length") public int length()
@JsProperty(name="name") public String name()
@JsProperty(name="ready") public boolean ready()
@JsMethod public void destroy()
public PostProcess getPostProcessStage(int index)
index
- The index of the post-process stage or composite.@JsMethod public boolean isDestroyed()
Copyright © 2019. All rights reserved.