I thought it was biosynthetic? Wouldn't surprise me if it was mechanical, though, as the writers retconned the setting every other episode. The Vietnam episode pretended that the amazing tech we saw in TNG didn't exist, or otherwise the episode wouldn't have had the grim war movie feel it was...