SetMaterialTexture method
Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)
Implementation
@override
void SetMaterialTexture(
MaterialD material,
MaterialMapIndex mapType,
TextureD texture,
) => run(
() => RaylibDebugLabels.SetMaterialTexture(material, mapType, texture),
() => material.maps[mapType.value].texture = texture,
);