final class EmbeddedState extends SceneState
scenehasWindowManager, isClosed, isWindowMinimized, isWindowVisible, nativeFrameBuffer, nativeView, nativeWindowHandle, outputHeight, outputScale, outputWidth, pixelFormat, renderHeight, renderScale, renderWidth, screenHeight, screenWidth, view, viewHeight, viewWidth, window, windowAlpha, windowX, windowY| Constructor and Description |
|---|
EmbeddedState(GlassScene vs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid()
Drawing can occur when there is an embedded scene that has a host.
|
void |
update()
Updates the state of this object based on the current state of its
nativeWindow.
|
void |
uploadPixels(PixelSource source)
Put the pixels on the screen.
|
getCamera, getClearColor, getCurrentPaint, getScene, isMSAAgetAlpha, getHeight, getNativeFrameBuffer, getNativeView, getNativeWindow, getOutputHeight, getOutputScale, getOutputWidth, getPixelFormat, getRenderHeight, getRenderScale, getRenderWidth, getScreenHeight, getScreenWidth, getView, getWidth, getWindow, getWindowX, getWindowY, hasWindowManager, isViewClosed, isWindowMinimized, isWindowVisible, lock, unlock, updatepublic EmbeddedState(GlassScene vs)
public void uploadPixels(PixelSource source)
uploadPixels in class SceneStatesource - - the source for the Pixels object to be uploadedpublic boolean isValid()
isValid in class SceneStatepublic void update()
update in class SceneState