Class STBHelper
java.lang.Object
net.minecraftforge.fml.earlydisplay.STBHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ByteBuffer
loadImageFromClasspath
(String file, int size, int[] width, int[] height, int[] channels) static int[]
loadTextureFromClasspath
(String file, int size, int textureNumber) static ByteBuffer
readFromClasspath
(String name, int initialCapacity)
-
Constructor Details
-
STBHelper
public STBHelper()
-
-
Method Details
-
readFromClasspath
-
loadTextureFromClasspath
-
loadImageFromClasspath
public static ByteBuffer loadImageFromClasspath(String file, int size, int[] width, int[] height, int[] channels)
-