Package gaiasky.util.gdx
package gaiasky.util.gdx
This package contains extensions and re-implementations of certain utilities of libgdx.
For instance, it contains:
- Re-implementation of the mesh object and auxiliaries so that the indices are 32-bit integers instead of 16-bit shorts. This allows for larger models.
- Re-implementation of Attribute and auxiliaries to use a proper bit mask instead of a 64-bit long as the attribute mask. This enables registering more than 64 attributes.
- Lots of extensions to
gdx.scene2d.ui. - An extension to the wavefront loaders that enables loading more material properties.
- Several new object creators like ring, icosphere, octahedronsphere, etc.
-
ClassDescriptionHelper generic class to create icospheres.Class to construct a mesh, optionally splitting it into one or more mesh parts.Class that contains all vertex information the builder can use.Batches
IntRenderableinstances, fetchesIntShaders for them, sorts them and then renders them.Helper class to createIntModels from code.A Renderable contains all information about a single render instruction (typically a draw call).Returns a list ofIntRenderableinstances to be rendered by aIntModelBatch.Responsible for sortingIntRenderablelists by whatever criteria (material, distance to camera, etc.)Utility class to create octahedron spheres.Wraps a standard OpenGL ES Cubemap.Enum to identify each side of a CubemapHelper generic class to create rings.