Using a Texture as a brush Template

I have a simple question. could some one explain to me how to use a texture for a brush template? or could you redirect me to a tutorial?

thanks