Top Description Interfaces Classes
module lwjgl.par

Package org.lwjgl.util.par

Annotations
@NonnullDefault

Contains bindings to the par library.

Interface Summary

Modifier and TypeInterface and Description
public interface
ParShapesRandFnI

Instances of this interface may be passed to the create_lsystem method.

public interface
ParSLAdvectionCallbackI

Instances of this interface may be passed to the mesh_from_streamlines method.

Class Summary

Modifier and TypeClass and Description
pack-priv class
LibPar

Initializes the par shared library.

public class
ParOctasphere

Bindings to par_octasphere.h, a tiny malloc-free library that generates triangle meshes for spheres, rounded boxes, and capsules.

public class
ParOctasphereConfig

Layout


struct par_octasphere_config {
    float corner_radius;
    float width;
    float height;
    float depth;
    int num_subdivisions;
    par_octasphere_uv_mode uv_mode;
    par_octasphere_normals_mode normals_mode;
}
public class
ParOctasphereMesh

Layout


struct par_octasphere_mesh {
    float * positions;
    float * normals;
    float * texcoords;
    uint16_t * indices;
    uint32_t num_indices;
    uint32_t num_vertices;
}
public class
ParShapes

Bindings to par_shapes.h, a simple C library for creation and manipulation of triangle meshes.

public class
ParShapesMesh

The par_shapes.h mesh structure.

public abstract class
ParShapesRandFn

Instances of this class may be passed to the create_lsystem method.

public abstract class
ParSLAdvectionCallback

Instances of this class may be passed to the mesh_from_streamlines method.

public class
ParSLAnnotation

Layout for generated vertex attributes.

public class
ParSLConfig

Immutable configuration for a streamlines context.

public class
ParSLMesh

Triangle mesh generated by the library.

public class
ParSLPosition

The simple two-tuple math type used for mesh and spine vertices.

public class
ParSLSpineList

Client-owned list of line strips that will be tessellated.

public class
ParSLViewport

Viewport for streamline seed placement.

public class
ParStreamlines

Bindings to par_streamlines.h, a single-file, zero-dependency, C99 library that can triangulate wide lines and curves.