|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.badlogic.gdx.backends.android.AndroidGraphicsLiveWallpaper
public final class AndroidGraphicsLiveWallpaper
An implementation of Graphics for Android.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.badlogic.gdx.Graphics |
|---|
Graphics.BufferFormat, Graphics.DisplayMode, Graphics.GraphicsType |
| Constructor Summary | |
|---|---|
AndroidGraphicsLiveWallpaper(AndroidLiveWallpaper app,
AndroidApplicationConfiguration config,
ResolutionStrategy resolutionStrategy)
|
|
| Method Summary | |
|---|---|
void |
clearManagedCaches()
|
Graphics.BufferFormat |
getBufferFormat()
|
float |
getDeltaTime()
|
float |
getDensity()
|
Graphics.DisplayMode |
getDesktopDisplayMode()
|
Graphics.DisplayMode[] |
getDisplayModes()
|
int |
getFramesPerSecond()
|
GL10 |
getGL10()
|
GL11 |
getGL11()
|
GL20 |
getGL20()
|
GLCommon |
getGLCommon()
|
int |
getHeight()
|
float |
getPpcX()
|
float |
getPpcY()
|
float |
getPpiX()
|
float |
getPpiY()
|
float |
getRawDeltaTime()
|
Graphics.GraphicsType |
getType()
|
android.view.View |
getView()
|
int |
getWidth()
|
boolean |
isContinuousRendering()
|
boolean |
isFullscreen()
|
boolean |
isGL11Available()
|
boolean |
isGL20Available()
|
void |
onDrawFrame(javax.microedition.khronos.opengles.GL10 gl)
|
void |
onSurfaceChanged(javax.microedition.khronos.opengles.GL10 gl,
int width,
int height)
|
void |
onSurfaceCreated(javax.microedition.khronos.opengles.GL10 gl,
javax.microedition.khronos.egl.EGLConfig config)
|
void |
requestRendering()
|
void |
setContinuousRendering(boolean isContinuous)
|
boolean |
setDisplayMode(Graphics.DisplayMode displayMode)
|
boolean |
setDisplayMode(int width,
int height,
boolean fullscreen)
|
void |
setTitle(String title)
|
void |
setVSync(boolean vsync)
|
boolean |
supportsDisplayModeChange()
|
boolean |
supportsExtension(String extension)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AndroidGraphicsLiveWallpaper(AndroidLiveWallpaper app,
AndroidApplicationConfiguration config,
ResolutionStrategy resolutionStrategy)
| Method Detail |
|---|
public GL10 getGL10()
getGL10 in interface Graphicspublic GL11 getGL11()
getGL11 in interface Graphicspublic GL20 getGL20()
getGL20 in interface Graphicspublic int getHeight()
getHeight in interface Graphicspublic int getWidth()
getWidth in interface Graphicspublic boolean isGL11Available()
isGL11Available in interface Graphicspublic boolean isGL20Available()
isGL20Available in interface Graphics
public void onSurfaceChanged(javax.microedition.khronos.opengles.GL10 gl,
int width,
int height)
onSurfaceChanged in interface android.opengl.GLSurfaceView.Renderer
public void onSurfaceCreated(javax.microedition.khronos.opengles.GL10 gl,
javax.microedition.khronos.egl.EGLConfig config)
onSurfaceCreated in interface android.opengl.GLSurfaceView.Rendererpublic void onDrawFrame(javax.microedition.khronos.opengles.GL10 gl)
onDrawFrame in interface android.opengl.GLSurfaceView.Rendererpublic float getDeltaTime()
getDeltaTime in interface Graphicspublic float getRawDeltaTime()
getRawDeltaTime in interface Graphicspublic Graphics.GraphicsType getType()
getType in interface Graphicspublic int getFramesPerSecond()
getFramesPerSecond in interface Graphicspublic void clearManagedCaches()
public android.view.View getView()
public GLCommon getGLCommon()
getGLCommon in interface Graphicspublic float getPpiX()
getPpiX in interface Graphicspublic float getPpiY()
getPpiY in interface Graphicspublic float getPpcX()
getPpcX in interface Graphicspublic float getPpcY()
getPpcY in interface Graphicspublic float getDensity()
getDensity in interface Graphicspublic boolean supportsDisplayModeChange()
supportsDisplayModeChange in interface Graphicspublic boolean setDisplayMode(Graphics.DisplayMode displayMode)
setDisplayMode in interface Graphicspublic Graphics.DisplayMode[] getDisplayModes()
getDisplayModes in interface Graphics
public boolean setDisplayMode(int width,
int height,
boolean fullscreen)
setDisplayMode in interface Graphicspublic void setTitle(String title)
setTitle in interface Graphicspublic Graphics.DisplayMode getDesktopDisplayMode()
getDesktopDisplayMode in interface Graphicspublic Graphics.BufferFormat getBufferFormat()
getBufferFormat in interface Graphicspublic void setVSync(boolean vsync)
setVSync in interface Graphicspublic boolean supportsExtension(String extension)
supportsExtension in interface Graphicspublic void setContinuousRendering(boolean isContinuous)
setContinuousRendering in interface Graphicspublic boolean isContinuousRendering()
isContinuousRendering in interface Graphicspublic void requestRendering()
requestRendering in interface Graphicspublic boolean isFullscreen()
isFullscreen in interface Graphics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||