meshoptimizer module

meshopt_buildMeshlets

procedureforeignSource
meshopt_buildMeshlets :: (
    meshlets: *meshopt_Meshlet,
    meshlet_vertices: *u32,
    meshlet_triangles: *u8,
    indices: *u32,
    index_count: u64,
    vertex_positions: *float,
    vertex_count: u64,
    vertex_positions_stride: u64,
    max_vertices: u64,
    max_triangles: u64,
    cone_weight: float
) -> u64 #foreign

Parameters

meshlets: *meshopt_Meshlet
meshlet_vertices: *u32
meshlet_triangles: *u8
indices: *u32
index_count: u64
vertex_positions: *float
vertex_count: u64
vertex_positions_stride: u64
max_vertices: u64
max_triangles: u64
cone_weight: float

Returns

u64

See also