make it possible to record color/depth buffer manipulations from within a sketch