Framework for kernels, camera as OpenCL struct