Gpu_scenetype vertex_data = vec3 * vec3 * Playground.color * (float * float)val group_by_material :
?on_cached:(Playground3d.cached -> unit) ->
Playground3d.shape3d list ->
(material * vertex_data list) listval vertex_floats_of_group : vertex_data list -> float array * intval light_dir : vec3