Uses of Class
org.xjge.graphics.Atlas
| Package | Description |
|---|---|
| org.xjge.graphics |
Supplies abstractions of OpenGL into various objects and data structures to
be used by other parts of the engine.
|
-
Uses of Atlas in org.xjge.graphics
Fields in org.xjge.graphics declared as Atlas Modifier and Type Field Description AtlasInstance2D. atlasMethods in org.xjge.graphics with parameters of type Atlas Modifier and Type Method Description voidSpriteAnimation. update(org.joml.Vector2f texCoords, Atlas atlas, boolean sync)Overloaded variant of theupdate()method which stores the texture coordinates in the provided vector object.voidSpriteAnimation. update(Atlas atlas, boolean sync)Steps the animation forward changing the texture coordinates of the sprite sheet and subsequently the sub-image rendered.