vkf_sphere_lod_add Interface

interface


Called by

interface~~vkf_sphere_lod_add~~CalledByGraph interface~vkf_sphere_lod_add vkf_sphere_lod_add proc~build_lod_mesh build_lod_mesh proc~build_lod_mesh->interface~vkf_sphere_lod_add proc~sphere_build_contents Sphere%sphere_build_contents proc~sphere_build_contents->proc~build_lod_mesh proc~sphere_update Sphere%sphere_update proc~sphere_update->proc~build_lod_mesh

public function vkf_sphere_lod_add(lod, mesh, segments) bind(C, name="vkf_sphere_lod_add")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: lod

handles (vkf_sphere_lod_create, vkf_mesh_create)

type(c_ptr), value :: mesh

handles (vkf_sphere_lod_create, vkf_mesh_create)

integer(kind=c_int), value :: segments

Return Value integer(kind=c_int)

Description

Add a mesh of segments segments around the equator. Returns 0, or -1 on failure.