Set texture for a material map of a model. Modifies the model in place.
See also
Other model functions:
draw_model(),
draw_model_ex(),
draw_model_wires(),
draw_model_wires_ex(),
get_model_bounding_box(),
is_model_animation_valid(),
is_model_valid(),
load_model(),
load_model_from_mesh(),
set_model_mesh_material(),
unload_model(),
update_model_animation(),
update_model_animation_ex()
Examples
if (FALSE) {
model <- load_model("model.obj")
tex <- load_texture("texture.png")
set_model_texture(model, 0L, material_map_index$albedo, tex)
}
