Skip to contents

Export mesh as code file (.h) defining multiple arrays of vertex attributes.

Usage

export_mesh_as_code(mesh, file_name)

Arguments

mesh

A mesh.

file_name

A string.

Value

A logical

Note

This function has been auto-generated from the following Raylib function definition:

bool ExportMeshAsCode(Mesh mesh, const char * fileName);

Examples

if (FALSE) {
export_mesh_as_code(gen_mesh_cube(1.0, 1.0, 1.0), "file.png")
}