Class Image
java.lang.Object
dev.prozilla.pine.common.system.resource.Image
- All Implemented Interfaces:
Lifecycle
Represents an STB image with a width and a height.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Destroys the object at the end of the game loop.static ByteBuffer
flipImageVertically
(ByteBuffer image, int width, int height, int channels) int
int
getImage()
int
getWidth()
-
Constructor Details
-
Image
-
-
Method Details
-
getFlippedImage
-
getImage
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getChannels
public int getChannels() -
destroy
public void destroy()Description copied from interface:Lifecycle
Destroys the object at the end of the game loop. -
flipImageVertically
-