2.8: How to texture paint some elements of mesh only? - Blender Stack Exchange
Texture & Texture Mask — Blender Manual
I'm following Blender Guru's Tutorial on Texture Painting and when I try to draw on the donut it says there are no textures detected, but drawing in 2D Space changes the Texture