public class TextureFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected static Map<String,SharedTexture> |
map |
Constructor and Description |
---|
TextureFactory() |
Modifier and Type | Method and Description |
---|---|
static SharedTexture |
get(String name) |
static void |
init(com.jogamp.opengl.GL gl) |
static void |
preload(List<String> names) |
static void |
preload(String name) |
protected static Map<String,SharedTexture> map
public static void preload(String name)
public static void init(com.jogamp.opengl.GL gl)
public static SharedTexture get(String name)
Copyright © 2016. All rights reserved.