@JsType(isNative=true, namespace="Cesium", name="PostProcessStageLibrary") public class PostProcessStageLibrary extends Object
Modifier and Type | Method and Description |
---|---|
static PostProcessStage |
createBlackAndWhiteStage()
Creates a post-process stage that renders the input texture with black and white gradations.
|
static PostProcessStageComposite |
createBlurStage()
Creates a post-process stage that applies a Gaussian blur to the input texture.
|
static PostProcessStage |
createBrightnessStage()
Creates a post-process stage that saturates the input texture.
|
static PostProcessStageComposite |
createDepthOfFieldStage()
Creates a post-process stage that applies a depth of field effect.
|
static PostProcessStage |
createLensFlareStage()
Creates a post-process stage that applies an effect simulating light flaring a camera lens.
|
static PostProcessStage |
createNightVisionStage()
Creates a post-process stage that adds a night vision effect to the input texture.
|
static PostProcessStageComposite |
createSilhouetteStage()
Creates a post-process stage that applies a silhouette effect.
|
static boolean |
isAmbientOcclusionSupported(Scene scene)
Whether or not an ambient occlusion stage is supported.
|
static boolean |
isDepthOfFieldSupported(Scene scene)
Whether or not a depth of field stage is supported.
|
static boolean |
isEdgeDetectionSupported(Scene scene)
Whether or not an edge detection stage is supported.
|
static boolean |
isSilhouetteSupported(Scene scene)
Whether or not a silhouette stage is supported.
|
@JsMethod public static PostProcessStage createBlackAndWhiteStage()
@JsMethod public static PostProcessStageComposite createBlurStage()
@JsMethod public static PostProcessStage createBrightnessStage()
@JsMethod public static PostProcessStageComposite createDepthOfFieldStage()
@JsMethod public static PostProcessStage createLensFlareStage()
@JsMethod public static PostProcessStage createNightVisionStage()
@JsMethod public static PostProcessStageComposite createSilhouetteStage()
@JsMethod public static boolean isAmbientOcclusionSupported(Scene scene)
scene
- The scene.@JsMethod public static boolean isDepthOfFieldSupported(Scene scene)
scene
- The scene.@JsMethod public static boolean isEdgeDetectionSupported(Scene scene)
scene
- The scene.@JsMethod public static boolean isSilhouetteSupported(Scene scene)
scene
- The scene.Copyright © 2019. All rights reserved.