Package | Description |
---|---|
net.minecraft.client.renderer.texture |
Modifier and Type | Field and Description |
---|---|
private NativeImage.PixelFormat |
NativeImage.pixelFormat |
Modifier and Type | Method and Description |
---|---|
private static NativeImage.PixelFormat |
NativeImage.PixelFormat.fromChannelCount(int channelsIn) |
NativeImage.PixelFormat |
NativeImage.getFormat() |
static NativeImage.PixelFormat |
NativeImage.PixelFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NativeImage.PixelFormat[] |
NativeImage.PixelFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static NativeImage |
NativeImage.read(NativeImage.PixelFormat pixelFormatIn,
java.nio.ByteBuffer byteBufferIn) |
static NativeImage |
NativeImage.read(NativeImage.PixelFormat pixelFormatIn,
java.io.InputStream inputStreamIn) |
Constructor and Description |
---|
NativeImage(NativeImage.PixelFormat pixelFormatIn,
int widthIn,
int heightIn,
boolean initialize) |
NativeImage(NativeImage.PixelFormat pixelFormatIn,
int widthIn,
int heightIn,
boolean stbiPointerIn,
long pointer) |