Add support for blending functions and depth mask toggling

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>