vkf_mesh_material Interface

interface


Called by

interface~~vkf_mesh_material~~CalledByGraph interface~vkf_mesh_material vkf_mesh_material proc~mesh_set_material mesh_set_material proc~mesh_set_material->interface~vkf_mesh_material proc~apply_color apply_color proc~apply_color->proc~mesh_set_material proc~apply_material_to apply_material_to proc~apply_material_to->proc~mesh_set_material proc~vector_show_state VectorHandle%vector_show_state proc~vector_show_state->proc~mesh_set_material proc~apply_material apply_material proc~apply_material->proc~apply_material_to proc~build_lod_mesh build_lod_mesh proc~build_lod_mesh->proc~apply_material_to proc~set_region_color ShadowCones%set_region_color proc~set_region_color->proc~apply_color proc~shadow_build_contents ShadowCones%shadow_build_contents proc~shadow_build_contents->proc~apply_color proc~vector_build_contents VectorHandle%vector_build_contents proc~vector_build_contents->proc~vector_show_state proc~vector_set_color VectorHandle%vector_set_color proc~vector_set_color->proc~vector_show_state proc~set_material Sphere%set_material proc~set_material->proc~apply_material proc~set_opacity Sphere%set_opacity proc~set_opacity->proc~apply_material proc~set_twilight Sphere%set_twilight proc~set_twilight->proc~apply_material proc~sphere_build_contents Sphere%sphere_build_contents proc~sphere_build_contents->proc~apply_material proc~sphere_build_contents->proc~build_lod_mesh proc~sphere_set_color Sphere%sphere_set_color proc~sphere_set_color->proc~apply_material proc~sphere_update Sphere%sphere_update proc~sphere_update->proc~build_lod_mesh

public function vkf_mesh_material(mesh) bind(C, name="vkf_mesh_material")

Arguments

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

mesh handle (vkf_mesh_create)

Return Value type(c_ptr)

Description

The material of a lit mesh: 19 floats (vsg::PhongMaterial: ambient, diffuse, specular, emissive rgba, shininess, alpha mask, alpha mask cutoff); call vkf_mesh_material_changed after writing them. Null for a mesh without one.