Function rust_raylib::ffi::SetMaterialTexture
source · pub unsafe extern "C" fn SetMaterialTexture(
material: *mut Material,
mapType: c_int,
texture: Texture2D
)
Expand description
Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR…)