类 STBHelper
java.lang.Object
net.minecraftforge.fml.earlydisplay.STBHelper
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static 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)
-
构造器详细资料
-
STBHelper
public STBHelper()
-
-
方法详细资料
-
readFromClasspath
-
loadTextureFromClasspath
-
loadImageFromClasspath
public static ByteBuffer loadImageFromClasspath(String file, int size, int[] width, int[] height, int[] channels)
-