Differentiable layers for graphics.