Top Description Interfaces Classes
module lwjgl.meshoptimizer

Package org.lwjgl.util.meshoptimizer

Annotations
@NonnullDefault

Contains bindings to meshoptimizer, a library that provides algorithms to help optimize meshes.

Interface Summary

Modifier and TypeInterface and Description
public interface
MeshoptAllocateI

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

public interface
MeshoptDeallocateI

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

Class Summary

Modifier and TypeClass and Description
pack-priv class
LibMeshOptimizer

Initializes the meshoptimizer shared library.

public abstract class
MeshoptAllocate

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

public class
MeshoptBounds

Layout


struct meshopt_Bounds {
    float center[3];
    float radius;
    float cone_apex[3];
    float cone_axis[3];
    float cone_cutoff;
    char cone_axis_s8[3];
    char cone_cutoff_s8;
}
public abstract class
MeshoptDeallocate

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

public class
MeshOptimizer

Native bindings to meshoptimizer.

public class
MeshoptMeshlet

Experimental: Meshlet Layout


struct meshopt_Meshlet {
    unsigned int vertex_offset;
    unsigned int triangle_offset;
    unsigned int vertex_count;
    unsigned int triangle_count;
}
public class
MeshoptOverdrawStatistics

Layout


struct meshopt_OverdrawStatistics {
    unsigned int pixels_covered;
    unsigned int pixels_shaded;
    float overdraw;
}
public class
MeshoptStream

Vertex attribute stream.

public class
MeshoptVertexCacheStatistics

Layout


struct meshopt_VertexCacheStatistics {
    unsigned int vertices_transformed;
    unsigned int warps_executed;
    float acmr;
    float atvr;
}
public class
MeshoptVertexFetchStatistics

Layout


struct meshopt_VertexFetchStatistics {
    unsigned int bytes_fetched;
    float overfetch;
}