public class ResourceLoadingUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceLoadingUtils.TexProps |
Constructor and Description |
---|
ResourceLoadingUtils() |
Modifier and Type | Method and Description |
---|---|
static ResourceLoadingUtils.TexProps |
loadTexture(java.awt.image.BufferedImage image) |
static java.lang.String |
readableBytes(long byteCount) |
static int |
toPowerOfTwo(int width,
int height) |
public static ResourceLoadingUtils.TexProps loadTexture(java.awt.image.BufferedImage image) throws java.io.IOException
java.io.IOException
public static int toPowerOfTwo(int width, int height)
public static java.lang.String readableBytes(long byteCount)