OpCodeFactory passes PixelBuffer and Memory instances as needed to new OpCode instances