SetMaterialTexture method
Implementation
void SetMaterialTexture(
MaterialD material,
MaterialMapIndex mapType,
Texture2DD texture,
) => run(
() => 'SetMaterialTexture($material, ${mapType.name}, $texture)',
() => material.maps[mapType.value].texture = texture,
);