final class EmbeddedState extends SceneState
scene
hasWindowManager, 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, isMSAA
getAlpha, getHeight, getNativeFrameBuffer, getNativeView, getNativeWindow, getOutputHeight, getOutputScale, getOutputWidth, getPixelFormat, getRenderHeight, getRenderScale, getRenderWidth, getScreenHeight, getScreenWidth, getView, getWidth, getWindow, getWindowX, getWindowY, hasWindowManager, isViewClosed, isWindowMinimized, isWindowVisible, lock, unlock, update
public EmbeddedState(GlassScene vs)
public void uploadPixels(PixelSource source)
uploadPixels
in class SceneState
source
- - the source for the Pixels object to be uploadedpublic boolean isValid()
isValid
in class SceneState
public void update()
update
in class SceneState