public class SolidColorTextureCache extends Object implements com.badlogic.gdx.utils.Disposable
| Constructor and Description |
|---|
SolidColorTextureCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
com.badlogic.gdx.graphics.Texture |
get(com.badlogic.gdx.graphics.Color color) |
com.badlogic.gdx.graphics.Texture |
get(float r,
float g,
float b,
float a) |
com.badlogic.gdx.graphics.Texture |
get(int color) |
void |
onPause() |
void |
onResume() |
public void onResume()
public void onPause()
public com.badlogic.gdx.graphics.Texture get(com.badlogic.gdx.graphics.Color color)
public com.badlogic.gdx.graphics.Texture get(float r,
float g,
float b,
float a)
public com.badlogic.gdx.graphics.Texture get(int color)
public void dispose()
dispose in interface com.badlogic.gdx.utils.DisposableCopyright © 2022. All rights reserved.